Hi,

I'm using org.apache.cxf.jaxrs.provider.JSONProvider to marshal my REST
responses into JSON.
I've date(javax.xml.datatype.XMLGregorianCalendar) property, which needs to
be marshalled into a Microsoft specific date format.

Can someone please let me know if there is anyway I can plugin
CustomConverter for a specific class,
so that I can customize JSON marshalling.

I could find only org.codehaus.jettison.mapped.TypeConverter to be plugged.
But this converter is being
invoked for all the marshalled JSON properties and it's hard to tell the
type of the property from the received text.

Kiran Sireesh




--
View this message in context: 
http://cxf.547215.n5.nabble.com/Plugin-custom-converter-for-Java-object-in-CXF-JSONProvider-tp5716245.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to