@Provider
public class ObjectMapperProvider
extends java.lang.Object
implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
Constructor and Description |
---|
ObjectMapperProvider() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.ObjectMapper |
getContext(java.lang.Class<?> type) |
static com.fasterxml.jackson.databind.module.SimpleModule |
module() |
public com.fasterxml.jackson.databind.ObjectMapper getContext(java.lang.Class<?> type)
getContext
in interface javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
public static com.fasterxml.jackson.databind.module.SimpleModule module()