as described in the resteasy guide the default provider should be jettison.
But when I create a rest service under wildfly 10 it uses the jackson 2 provider as default.
I tried to explicitly inactivate the jackson-x providers to enforce the jettison provider but nothing works. I put follow in my jboss-deployment-structure.xml:
<module name="org.jboss.resteasy.resteasy-jackson-provider" />
<module name="org.jboss.resteasy.resteasy-jackson2-provider" />
<module name="org.jboss.resteasy.resteasy-jettison-provider" />
Also using the annotation @NoJackson did not work. As I used this annoation reast easy could not locate a valid json provider. (Message: org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type...)
I also tried to add the @BadgerFish Annoation to force this format. But this was not working.
So what should be the default provider.
How could I enable Jettison
How can I add pretty formatting using the jettison provider (it is only supported when using the jackson-2.x provider)
How can I use atom links when using the jackson-2.x provider