JsonObjectStream currently sets rootnode to JsonObject within the constructor. So it cannot be used if an JsonArray is required as root node. A possible solution would be either a second constructor or a new class, e. g. _JsonArrayStream_.
JsonObjectStream currently sets rootnode to JsonObject within the constructor. So it cannot be used if an JsonArray is required as root node.
A possible solution would be either a second constructor or a new class, e. g. JsonArrayStream.