Hi
On 05/10/12 10:45, sireesh wrote:
Hi Sergey,
Thank you for your quick reply.
I was using jettison-1.3.
I now changed it to 1.3.2 and tried, but it still didn't resolve the
unmarshalling issue I mentioned.
Any other suggestions to resolve this issue are most welcome.
I've reproduced the issue but I do not why it is happening, I can see a
test in Jettison which tests a sequence structured identically, with
duplicate keys (such as RegistrationKey in your example) - but
apparently when JAXB gets involved the code at the mapped reader level
is not sufficient - I can only promise to look into it in time for
Jettison 1.2.3 because the issue still persists at the Jettison layer -
guess you will need to switch to Jackson JAXB provider and see if that
helps or collapse the duplicate keys (example, have a single
RegistrationKeys field which can accept values like "a b c") and do the
additional parsing at the application layer
Thanks, Sergey
Thanks,
Kiran Sireesh
--
View this message in context:
http://cxf.547215.n5.nabble.com/JSONProvider-unable-to-unmarshal-json-containing-list-of-elements-tp5715651p5715787.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com