Maybe switch to Jakson instead of JAXB (wrapper of Jettison).
Look for Jackson on the mailling list to get samples.

Jean-Louis


2013/5/2 Jack Anamanda <[email protected]>

> Hi guys. When I return an @XmlRootElement object in a JAX-RS method, I get
> the following format for properties of type long :
>
> "width" : { "$" : "32", "@xsi.type" : "xs:int" }
>
> How can I change this, so that I just get the following:
>
> "width" : 32,
>
> I'm on TomEE 1.5.2 with the JAX-RS profile. Thanks.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/How-to-change-CXF-JSON-output-format-tp4662646.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>



-- 
Jean-Louis

Reply via email to