cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek Shaw <ds...@funmobility.com>
Subject Re: Nested XML in JSON throws exception
Date Thu, 26 Jul 2007 15:04:07 GMT

It turns out this was caused by a bug in Jettison when array responses
contain objects that have attributes. Moving to XmlElement is a workaround.

I have reported a bug on this issue with more detail at CXF-852.

~derek


Derek Shaw wrote:
> 
> Not sure if this is going to be the right place to post about this, so
> please forgive me. I don't know who owns the Jettison project....
> 
> I am using CXF. My problem is this. The object as follows throws an
> exception ( listed at the end of this email) when I try to access it
> through JSON. The XML access works fine and I get the correct XML. Note
> that the annotations have no effect on the issue. The problem seems to
> stem from the fact that the code is trying to turn a JSONArray into a
> JSONObject. But I cant determine why that might be the case.
> 
> 
> Any help would be greatly appreciated. 
>  
> Thanks,
> 
> ~Derek Shaw
> ...
> 
 

-- 
View this message in context: http://www.nabble.com/Nested-XML-in-JSON-throws-exception-tf4118148.html#a11812389
Sent from the cxf-dev mailing list archive at Nabble.com.


Mime
View raw message