Hi Sergey, Apologies for the long delay in getting about this. I couldn't work on this because of change in priorities at work. I managed to work on the custom JSONProvider as per your suggestion.
I would like to know if I need to add any note/disclaimer if I've made use/copied snippets of the existing code from CXF snapshot. I'm attaching the custom JSONProvider I've written. Can you please let me know if this is fine with you and I can use this in enterpise project which is not opensource. Thanks, Kiran On 24 January 2013 09:48, Sergey Beryozkin-5 [via CXF] < [email protected]> wrote: > Hi > On 24/01/13 00:05, sireesh wrote: > > Sergey, I couldn't find method named createStreamReader in JSONProvider > to be > > overriden. > > I could only find createReader methods, and they seem to use > > JSONUtils.createStreamReader. > > Can you please elaborate on the workaround you have mentioned. > > > Sorry, it is indeed JSONProvider.createReader, so the idea was to extend > it and use some of the code from the latest JSONUtils.createStreamReader > > Cheers, Sergey > > Thanks, > > Sireesh > > > > > > > > -- > > View this message in context: > http://cxf.547215.n5.nabble.com/JSONProvider-unable-to-unmarshal-json-containing-list-of-elements-tp5715651p5722099.html > > > Sent from the cxf-user mailing list archive at Nabble.com. > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://cxf.547215.n5.nabble.com/JSONProvider-unable-to-unmarshal-json-containing-list-of-elements-tp5715651p5722117.html > To unsubscribe from JSONProvider unable to unmarshal json containing list > of elements, click > here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5715651&code=a2lyYW5zaXJlZXNoQGdtYWlsLmNvbXw1NzE1NjUxfC0xMjgwNTcyMzU3> > . > NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > GrcJsonProvider.java (8K) <http://cxf.547215.n5.nabble.com/attachment/5726362/0/GrcJsonProvider.java> -- View this message in context: http://cxf.547215.n5.nabble.com/JSONProvider-unable-to-unmarshal-json-containing-list-of-elements-tp5715651p5726362.html Sent from the cxf-user mailing list archive at Nabble.com.
