Hi

>
>>> Please see [1], I've just uploaded a slightly refactored patch, named
>>>> json-collections.patch.
>>>> Can you please look at it ? Just something minor is missing, I can get
>>>> to it
>>>> later on, but if you can apply it to the latest code and see where the
>>>> missing bit is then may be we can close [1] :-)
>>>>
>>>>
>>> I have fixed something in MappedXMLStreamReader, in the constructor:
>>>
>>> this.node = new Node(null, rootName, obj, convention);
>>>
>>> instead of
>>>
>>> this.node = new Node(null, rootName, ((JSONArray)top).getJSONObject(0),
>>> convention);
>>>
>>> So the old implementation just not read the array items with index>0.
>>>
>>>
> This change is causing a MappedXMLStreamReaderTest.testMultipleArrays test
> failure, can you check it please ?
>
>
I did a minor update to the above update, if the array size is 1 then use
the original code, otherwise use the code you provided. The patch is here:

http://jira.codehaus.org/browse/JETTISON-104

Next is to make it applied, will work on that;
http://jira.codehaus.org/browse/JETTISON-89 is another I'll look at


> thanks, Sergey
>
>

Reply via email to