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 Details

    • JacksonMapperProvider

      public JacksonMapperProvider()
  • Method Details

    • getContext

      public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)
      Specified by:
      getContext in interface jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
    • getObjectMapper

      public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()