 <p>If you are using Jackson, You could look at the JacksonJAXBAnnotations here <a href="http://wiki.fasterxml.com/JacksonJAXBAnnotations" rel="nofollow">http://wiki.fasterxml.com/JacksonJAXBAnnotations</a></p>