public class JacksonSerializer extends AbstractSerializer
AbstractSerializer.NullValue| Modifier and Type | Field and Description |
|---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
defaultObjectMapper |
| Constructor and Description |
|---|
JacksonSerializer() |
JacksonSerializer(Collection<?> upcasters) |
JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Collection<?> upcasters) |
JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Upcaster<SerializedObject<byte[],?>> upcasterChain) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
doDeserialize(byte[] bytes,
Class<?> type) |
protected byte[] |
doSerialize(Object object) |
protected Stream<DeserializingObject<byte[],?>> |
handleUnknownType(SerializedObject<byte[],?> s) |
classForType, deserialize, getObjectType, getRevision, serializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserializepublic static final com.fasterxml.jackson.databind.ObjectMapper defaultObjectMapper
public JacksonSerializer()
public JacksonSerializer(Collection<?> upcasters)
public JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Collection<?> upcasters)
public JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Upcaster<SerializedObject<byte[],?>> upcasterChain)
protected byte[] doSerialize(Object object) throws Exception
doSerialize in class AbstractSerializerExceptionprotected Object doDeserialize(byte[] bytes, Class<?> type) throws Exception
doDeserialize in class AbstractSerializerExceptionprotected Stream<DeserializingObject<byte[],?>> handleUnknownType(SerializedObject<byte[],?> s)
handleUnknownType in class AbstractSerializerCopyright © 2019 Flux Capacitor. All rights reserved.