users@jersey.java.net

[Jersey] ObjectMapper cannot handle _at_XmlElement

From: Pengfei Di <pengfei.di_at_match2blue.com>
Date: Thu, 24 Mar 2011 10:05:55 +0100

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