@Provider @Produces(value="application/json") public class JacksonConfig extends Object implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
| Constructor and Description |
|---|
JacksonConfig() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.ObjectMapper |
getContext(Class<?> type) |
static void |
initializeObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) |
public static void initializeObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)
getContext in interface javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>Copyright © 2016–2017 Red Hat. All rights reserved.