Class TypedJsonJacksonCodec

  • All Implemented Interfaces:
    Codec

    public class TypedJsonJacksonCodec
    extends JsonJacksonCodec
    Json Jackson Type codec. Doesn't include `@class` field during data encoding, and doesn't require it for data decoding.
    Author:
    Nikita Koksharov, Andrej Kazakov
    • Constructor Detail

      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(Class<?> valueClass)
      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(Class<?> valueClass,
                                     com.fasterxml.jackson.databind.ObjectMapper mapper)
      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(Class<?> mapKeyClass,
                                     Class<?> mapValueClass)
      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(Class<?> mapKeyClass,
                                     Class<?> mapValueClass,
                                     com.fasterxml.jackson.databind.ObjectMapper mapper)
      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(Class<?> valueClass,
                                     Class<?> mapKeyClass,
                                     Class<?> mapValueClass)
      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(Class<?> valueClass,
                                     Class<?> mapKeyClass,
                                     Class<?> mapValueClass,
                                     com.fasterxml.jackson.databind.ObjectMapper mapper)
      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(com.fasterxml.jackson.core.type.TypeReference<?> valueTypeReference)
      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(com.fasterxml.jackson.core.type.TypeReference<?> valueTypeReference,
                                     com.fasterxml.jackson.databind.ObjectMapper mapper)
      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(com.fasterxml.jackson.core.type.TypeReference<?> mapKeyTypeReference,
                                     com.fasterxml.jackson.core.type.TypeReference<?> mapValueTypeReference)
      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(com.fasterxml.jackson.core.type.TypeReference<?> mapKeyTypeReference,
                                     com.fasterxml.jackson.core.type.TypeReference<?> mapValueTypeReference,
                                     com.fasterxml.jackson.databind.ObjectMapper mapper)
      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(com.fasterxml.jackson.core.type.TypeReference<?> valueTypeReference,
                                     com.fasterxml.jackson.core.type.TypeReference<?> mapKeyTypeReference,
                                     com.fasterxml.jackson.core.type.TypeReference<?> mapValueTypeReference)
      • TypedJsonJacksonCodec

        public TypedJsonJacksonCodec(com.fasterxml.jackson.core.type.TypeReference<?> valueTypeReference,
                                     com.fasterxml.jackson.core.type.TypeReference<?> mapKeyTypeReference,
                                     com.fasterxml.jackson.core.type.TypeReference<?> mapValueTypeReference,
                                     com.fasterxml.jackson.databind.ObjectMapper mapper)