Configure Jersey/Jackson to NOT use @XmlElement field annotation for JSON field naming?

At low level, what is needed to make sure that ObjectMapper does NOT use JAXBAnnotationIntrospector, but only default JacksonAnnotationIntrospector. I think you should be able to just construct ObjectMapper (which does not add JAXB introspector by default), and register it via standard JAX-RS provider mechanism. This should override ObjectMapper that POJO mapper functionality would otherwise construct.

Thanks, this is the solution - although I would not have understood what to do without many other similar SO Questions/Answers I found :-) I will post the detailed solution in the Question. – K. Claszen Feb 16 at 8:08 Thanks.

I know there are some FAQ entries for Jersey, but they are pretty hard to find (so much so that I often can't find it... need to start bookmarking). – StaxMan Feb 16 at 17:46.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions