Package | Description |
---|---|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.ser |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.impl |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.std |
Modifier and Type | Field and Description |
---|---|
protected PropertySerializerMap |
SequenceWriter._dynamicSerializers
If
SequenceWriter._rootSerializer is not defined (no root type
was used for constructing ObjectWriter ), we will
use simple scheme for keeping track of serializers needed. |
Modifier and Type | Field and Description |
---|---|
protected PropertySerializerMap |
BeanPropertyWriter._dynamicSerializers
In case serializer is not known statically (i.e.
|
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<java.lang.Object> |
BeanPropertyWriter._findAndAddDynamic(PropertySerializerMap map,
java.lang.Class<?> type,
SerializerProvider provider) |
Modifier and Type | Class and Description |
---|---|
private static class |
PropertySerializerMap.Double |
private static class |
PropertySerializerMap.Empty
Bogus instance that contains no serializers; used as the default
map with new serializers.
|
private static class |
PropertySerializerMap.Multi |
private static class |
PropertySerializerMap.Single
Map that contains a single serializer; although seemingly silly
this is probably the most commonly used variant because many
theoretically dynamic or polymorphic types just have single
actual type.
|
Modifier and Type | Field and Description |
---|---|
protected PropertySerializerMap |
MapEntrySerializer._dynamicValueSerializers
If value type can not be statically determined, mapping from
runtime value types to serializers are stored in this object.
|
PropertySerializerMap |
PropertySerializerMap.SerializerAndMapResult.map |
Modifier and Type | Method and Description |
---|---|
static PropertySerializerMap |
PropertySerializerMap.emptyForProperties() |
static PropertySerializerMap |
PropertySerializerMap.emptyForRootValues() |
static PropertySerializerMap |
PropertySerializerMap.emptyMap()
Deprecated.
Since 2.5 Use
emptyForProperties() instead |
abstract PropertySerializerMap |
PropertySerializerMap.newWith(java.lang.Class<?> type,
JsonSerializer<java.lang.Object> serializer) |
PropertySerializerMap |
PropertySerializerMap.Empty.newWith(java.lang.Class<?> type,
JsonSerializer<java.lang.Object> serializer) |
PropertySerializerMap |
PropertySerializerMap.Single.newWith(java.lang.Class<?> type,
JsonSerializer<java.lang.Object> serializer) |
PropertySerializerMap |
PropertySerializerMap.Double.newWith(java.lang.Class<?> type,
JsonSerializer<java.lang.Object> serializer) |
PropertySerializerMap |
PropertySerializerMap.Multi.newWith(java.lang.Class<?> type,
JsonSerializer<java.lang.Object> serializer) |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<java.lang.Object> |
UnwrappingBeanPropertyWriter._findAndAddDynamic(PropertySerializerMap map,
java.lang.Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<java.lang.Object> |
MapEntrySerializer._findAndAddDynamic(PropertySerializerMap map,
java.lang.Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<java.lang.Object> |
MapEntrySerializer._findAndAddDynamic(PropertySerializerMap map,
JavaType type,
SerializerProvider provider) |
Constructor and Description |
---|
Double(PropertySerializerMap base,
java.lang.Class<?> type1,
JsonSerializer<java.lang.Object> serializer1,
java.lang.Class<?> type2,
JsonSerializer<java.lang.Object> serializer2) |
Multi(PropertySerializerMap base,
PropertySerializerMap.TypeAndSerializer[] entries) |
PropertySerializerMap(PropertySerializerMap base) |
SerializerAndMapResult(JsonSerializer<java.lang.Object> serializer,
PropertySerializerMap map) |
Single(PropertySerializerMap base,
java.lang.Class<?> type,
JsonSerializer<java.lang.Object> serializer) |
Modifier and Type | Field and Description |
---|---|
protected PropertySerializerMap |
AsArraySerializerBase._dynamicSerializers
If element type can not be statically determined, mapping from
runtime type to serializer is handled using this object
|
protected PropertySerializerMap |
StdKeySerializers.Dynamic._dynamicSerializers |
protected PropertySerializerMap |
AtomicReferenceSerializer._dynamicSerializers
If element type can not be statically determined, mapping from
runtime type to serializer is handled using this object
|
protected PropertySerializerMap |
ObjectArraySerializer._dynamicSerializers
If element type can not be statically determined, mapping from
runtime type to serializer is handled using this object
|
protected PropertySerializerMap |
MapSerializer._dynamicValueSerializers
If value type can not be statically determined, mapping from
runtime value types to serializers are stored in this object.
|
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<java.lang.Object> |
AsArraySerializerBase._findAndAddDynamic(PropertySerializerMap map,
java.lang.Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<java.lang.Object> |
MapSerializer._findAndAddDynamic(PropertySerializerMap map,
java.lang.Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<java.lang.Object> |
StdKeySerializers.Dynamic._findAndAddDynamic(PropertySerializerMap map,
java.lang.Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<java.lang.Object> |
ObjectArraySerializer._findAndAddDynamic(PropertySerializerMap map,
java.lang.Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<java.lang.Object> |
AsArraySerializerBase._findAndAddDynamic(PropertySerializerMap map,
JavaType type,
SerializerProvider provider) |
protected JsonSerializer<java.lang.Object> |
MapSerializer._findAndAddDynamic(PropertySerializerMap map,
JavaType type,
SerializerProvider provider) |
protected JsonSerializer<java.lang.Object> |
ObjectArraySerializer._findAndAddDynamic(PropertySerializerMap map,
JavaType type,
SerializerProvider provider) |