Class JacksonMapperProvider
java.lang.Object
com.tangosol.coherence.rest.providers.JacksonMapperProvider
- All Implemented Interfaces:
jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
@Provider
public class JacksonMapperProvider
extends Object
implements jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
Provider responsible for converting Java object to/from JSON/XML.
- Since:
- Coherence 12.2.1
- Author:
- lh 2014.07.18
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMapper
getContext
(Class<?> type) static com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Details
-
JacksonMapperProvider
public JacksonMapperProvider()
-
-
Method Details
-
getContext
- Specified by:
getContext
in interfacejakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
getObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-