List of usage examples for com.fasterxml.jackson.jaxrs.json Annotations JACKSON
Annotations JACKSON
To view the source code for com.fasterxml.jackson.jaxrs.json Annotations JACKSON.
Click Source Link
From source file:com.ning.jetty.core.modules.ServerModule.java
protected void installJackson() { final ObjectMapper mapper = getJacksonProvider().get(); bind(ObjectMapper.class).toInstance(mapper); bind(JacksonJsonProvider.class).toInstance( new JacksonJsonProvider(mapper, new Annotations[] { Annotations.JACKSON, Annotations.JAXB })); }