How to configure json format when using jaxb annotations with jersey?

I don't know why your code isn't working, but this is what I use.

I don't know why your code isn't working, but this is what I use: import javax.ws.rs. Produces; import javax.ws.rs.core. MediaType; import javax.ws.rs.ext.

Provider; import org.codehaus.jackson.jaxrs. JacksonJaxbJsonProvider; @Provider @Produces(MediaType. APPLICATION_JSON) public class JsonProvider extends JacksonJaxbJsonProvider { public JsonProvider() { super(); setMapper( myConfiguredObjectMapper ); }.

Thanks, was going to answer my own question, but you saved me the trouble. That's what I did :-), configured my own jackson-json provider. – Michael Wiles May 13 at 7:00.

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