Class JsonJacksonCodec

    • Field Detail

      • mapObjectMapper

        protected final com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper
    • Constructor Detail

      • JsonJacksonCodec

        public JsonJacksonCodec()
      • JsonJacksonCodec

        public JsonJacksonCodec​(ClassLoader classLoader)
      • JsonJacksonCodec

        public JsonJacksonCodec​(com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper)
    • Method Detail

      • createObjectMapper

        protected static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper​(ClassLoader classLoader,
                                                                                        com.fasterxml.jackson.databind.ObjectMapper om)
      • initTypeInclusion

        protected void initTypeInclusion​(com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper)
      • init

        protected void init​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • getValueDecoder

        public Decoder<Object> getValueDecoder()
        Description copied from interface: Codec
        Returns object decoder used for any objects stored Redis structure except HMAP
        Returns:
        decoder
      • getValueEncoder

        public Encoder getValueEncoder()
        Description copied from interface: Codec
        Returns object encoder used for any objects stored Redis structure except HMAP
        Returns:
        encoder
      • getObjectMapper

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