Set JSON provider at RESTEasy on JBoss 7.1.1

Viewed 12157

How could I set JSON provider for RestEasy at JBoss 7.1.1?

RestEasy documentation says:

RESTEasy allows you to marshall JAXB annotated POJOs to and from JSON. This provider wraps the Jettison JSON library to accomplish this.

But I found that it seems that on JBoss 7.1.1 Resteasy uses Jackson provider because @XmlTransient on my class field was ignored, but @JsonIgnore was processed.

How can I tell to Resteasy to use Jettison instead of Jackson?

On Jboss I found both providers.

4 Answers
Related