This change is causing a MappedXMLStreamReaderTest.testMultipleArrays test
failure, can you check it please ?
I have checked it, and my question now is, is it really required by
some specification, that something like this:
{ "root": [ A ] }
..is treated like this:
{ "root": A }
So 1-sized arrays seem to form a special case.
However to detect this special case, a parser has to read the characters
following A since e.g. a B can follow:
{ "root": [ A , B ] }
So a "SAX-style" JSON parser will never be possible, and the size of
transmitted JSON is limited to about 100MB for all times (I say a number
here which I experienced in a SAX-versus-DOM experiment years ago).
So for sake of this limit, and for sake to work with JSONProvider, can
this behavior be reconsidered (and testMultipleArrays be adjusted
accordingly)?