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 |
| Constructor and Description |
|---|
JsonJacksonCodec() |
JsonJacksonCodec(ClassLoader classLoader) |
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) |
getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoderpublic static final JsonJacksonCodec INSTANCE
protected final com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper
public JsonJacksonCodec()
public JsonJacksonCodec(ClassLoader classLoader)
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()
Codecpublic Encoder getValueEncoder()
Codecpublic ClassLoader getClassLoader()
CodecgetClassLoader in interface CodecgetClassLoader in class BaseCodecpublic com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2014–2018 The Redisson Project. All rights reserved.