Package | Description |
---|---|
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 | Method and Description |
---|---|
protected abstract ContainerSerializer<?> |
ContainerSerializer._withValueTypeSerializer(TypeSerializer vts)
Method that needs to be implemented to allow construction of a new
serializer object with given
TypeSerializer , used when
addition type information is to be embedded. |
ContainerSerializer<?> |
ContainerSerializer.withValueTypeSerializer(TypeSerializer vts)
Factory(-like) method that can be used to construct a new container
serializer that uses specified
TypeSerializer for decorating
contained values with additional type information. |
Constructor and Description |
---|
ContainerSerializer(ContainerSerializer<?> src) |
Modifier and Type | Class and Description |
---|---|
class |
IndexedListSerializer
This is an optimized serializer for Lists that can be efficiently
traversed by index (as opposed to others, such as
LinkedList
that can not}. |
class |
IteratorSerializer |
class |
StringArraySerializer
Standard serializer used for
String[] values. |
Modifier and Type | Method and Description |
---|---|
ContainerSerializer<?> |
StringArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Strings never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
ContainerSerializer<?> |
IteratorSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
IndexedListSerializer._withValueTypeSerializer(TypeSerializer vts) |
Modifier and Type | Class and Description |
---|---|
class |
ArraySerializerBase<T>
Intermediate base class for serializers used for various
Java arrays.
|
class |
AsArraySerializerBase<T>
Base class for serializers that will output contents as JSON
arrays; typically serializers used for
Collection
and array types. |
class |
CollectionSerializer
Fallback serializer for cases where Collection is not known to be
of type for which more specializer serializer exists (such as
index-accessible List).
|
class |
EnumMapSerializer
Specialized serializer for
EnumMap s. |
class |
EnumSetSerializer |
class |
IterableSerializer |
class |
MapSerializer
Standard serializer implementation for serializing {link java.util.Map} types.
|
class |
ObjectArraySerializer
Generic serializer for Object arrays (
Object[] ). |
static class |
StdArraySerializers.BooleanArraySerializer |
static class |
StdArraySerializers.DoubleArraySerializer |
static class |
StdArraySerializers.FloatArraySerializer |
static class |
StdArraySerializers.IntArraySerializer |
static class |
StdArraySerializers.LongArraySerializer |
static class |
StdArraySerializers.ShortArraySerializer |
protected static class |
StdArraySerializers.TypedPrimitiveArraySerializer<T>
Intermediate base class used for cases where we may add
type information (excludes boolean/int/double arrays).
|
Modifier and Type | Method and Description |
---|---|
ContainerSerializer<?> |
StdArraySerializers.BooleanArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Booleans never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
ContainerSerializer<?> |
StdArraySerializers.ShortArraySerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
StdArraySerializers.IntArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Ints never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
ContainerSerializer<?> |
StdArraySerializers.LongArraySerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
StdArraySerializers.FloatArraySerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
StdArraySerializers.DoubleArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Doubles never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
ContainerSerializer<?> |
ObjectArraySerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
IterableSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
CollectionSerializer._withValueTypeSerializer(TypeSerializer vts) |
static ContainerSerializer<?> |
StdContainerSerializers.collectionSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<Object> valueSerializer)
Deprecated.
Since 2.1; use variant that does not take 'property' argument
|
static ContainerSerializer<?> |
StdContainerSerializers.collectionSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
JsonSerializer<Object> valueSerializer) |
static ContainerSerializer<?> |
StdContainerSerializers.indexedListSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<Object> valueSerializer)
Deprecated.
Since 2.1; use variant that does not take 'property' argument
|
static ContainerSerializer<?> |
StdContainerSerializers.indexedListSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
JsonSerializer<Object> valueSerializer) |
static ContainerSerializer<?> |
StdContainerSerializers.iterableSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts) |
static ContainerSerializer<?> |
StdContainerSerializers.iteratorSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts) |
Copyright © 2012-2013 FasterXML. All Rights Reserved.