public class JsonJacksonCodec extends Object implements Codec
CborJacksonCodec,
MsgPackJacksonCodec| Modifier and Type | Class and Description |
|---|---|
static class |
JsonJacksonCodec.ThrowableMixIn |
| Modifier and Type | Field and Description |
|---|---|
static JsonJacksonCodec |
INSTANCE |
| 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) |
Decoder<Object> |
getMapKeyDecoder()
Returns object decoder used for hash map keys in HMAP Redis structure
|
Encoder |
getMapKeyEncoder()
Returns object encoder used for hash map keys in HMAP Redis structure
|
Decoder<Object> |
getMapValueDecoder()
Returns object decoder used for hash map values in HMAP Redis structure
|
Encoder |
getMapValueEncoder()
Returns object encoder used for hash map values in HMAP Redis structure
|
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) |
public static final JsonJacksonCodec INSTANCE
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> getMapValueDecoder()
CodecgetMapValueDecoder in interface Codecpublic Encoder getMapValueEncoder()
CodecgetMapValueEncoder in interface Codecpublic Decoder<Object> getMapKeyDecoder()
CodecgetMapKeyDecoder in interface Codecpublic Encoder getMapKeyEncoder()
CodecgetMapKeyEncoder in interface Codecpublic Decoder<Object> getValueDecoder()
CodecgetValueDecoder in interface Codecpublic Encoder getValueEncoder()
CodecgetValueEncoder in interface Codecpublic com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2014–2017 The Redisson Project. All rights reserved.