public class JsonJacksonCodec extends BaseCodec
CborJacksonCodec
,
MsgPackJacksonCodec
Modifier and Type | Class and Description |
---|---|
static class |
JsonJacksonCodec.ThrowableMixIn |
Modifier and Type | Field and Description |
---|---|
static JsonJacksonCodec |
INSTANCE |
protected com.fasterxml.jackson.databind.ObjectMapper |
mapObjectMapper |
SKIPPED_CODECS
Constructor and Description |
---|
JsonJacksonCodec() |
JsonJacksonCodec(ClassLoader classLoader) |
JsonJacksonCodec(ClassLoader classLoader,
JsonJacksonCodec codec) |
JsonJacksonCodec(com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper) |
Modifier and Type | Method and Description |
---|---|
protected static com.fasterxml.jackson.databind.ObjectMapper |
createObjectMapper(ClassLoader classLoader,
com.fasterxml.jackson.databind.ObjectMapper om) |
ClassLoader |
getClassLoader()
Returns class loader object used to load classes used in decoding process
|
com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
Decoder<Object> |
getValueDecoder()
Returns object decoder used for any objects stored Redis structure except HMAP
|
Encoder |
getValueEncoder()
Returns object encoder used for any objects stored Redis structure except HMAP
|
protected void |
init(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
protected void |
initTypeInclusion(com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper) |
copy, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder, toString
public static final JsonJacksonCodec INSTANCE
protected final com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper
public JsonJacksonCodec()
public JsonJacksonCodec(ClassLoader classLoader)
public JsonJacksonCodec(ClassLoader classLoader, JsonJacksonCodec codec)
public JsonJacksonCodec(com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper)
protected static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper(ClassLoader classLoader, com.fasterxml.jackson.databind.ObjectMapper om)
protected void initTypeInclusion(com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper)
protected void init(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public Decoder<Object> getValueDecoder()
Codec
public Encoder getValueEncoder()
Codec
public ClassLoader getClassLoader()
Codec
getClassLoader
in interface Codec
getClassLoader
in class BaseCodec
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2014–2020 Redisson. All rights reserved.