Class JacksonModelSerializer<T>

java.lang.Object
org.apache.curator.x.async.modeled.JacksonModelSerializer<T>
All Implemented Interfaces:
ModelSerializer<T>

public class JacksonModelSerializer<T> extends Object implements ModelSerializer<T>
Model serializer that uses Jackson for JSON serialization. IMPORTANT: the jackson dependency is specified as provided in the curator-x-async Maven POM file to avoid adding a new dependency to Curator. Therefore, if you wish to use the JacksonModelSerializer you must manually add the dependency to your build system
  • Constructor Details

    • JacksonModelSerializer

      public JacksonModelSerializer(Class<T> modelClass)
    • JacksonModelSerializer

      public JacksonModelSerializer(com.fasterxml.jackson.databind.JavaType type)
    • JacksonModelSerializer

      public JacksonModelSerializer(com.fasterxml.jackson.core.type.TypeReference type)
    • JacksonModelSerializer

      public JacksonModelSerializer(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.databind.JavaType type)
    • JacksonModelSerializer

      public JacksonModelSerializer(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.core.type.TypeReference type)
    • JacksonModelSerializer

      public JacksonModelSerializer(com.fasterxml.jackson.databind.ObjectReader reader, com.fasterxml.jackson.databind.ObjectWriter writer)
  • Method Details