Something like this is probably what you need:
http://wiki.fasterxml.com/JacksonJAXBAnnotations
On Thu, Mar 24, 2011 at 4:05 AM, Pengfei Di <pengfei.di_at_match2blue.com>wrote:
> Hello,
>
> I use XmlElement annotation on some jaxb class to rename some field in the
> generated json string . However, this annotation seems not to be recognized
> if I use ObjectMapper to parse the json string. What I get is an
> IllegalArgumentException. Is it possible to let ObjectMapper recognize this
> annotation?
>
> Thanks for any hint.
>
> Pengfei
>
>