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<?> |
BasicSerializerFactory.buildCollectionSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
JsonSerializer<Object> valueSerializer) |
ContainerSerializer<?> |
BasicSerializerFactory.buildIndexedListSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
JsonSerializer<Object> valueSerializer) |
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 cannot}. |
class |
IteratorSerializer |
class |
MapEntrySerializer |
class |
StringArraySerializer
Standard serializer used for
String[] values. |
Modifier and Type | Method and Description |
---|---|
ContainerSerializer<?> |
IndexedListSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
IteratorSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
MapEntrySerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
StringArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Strings never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
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 |
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<?> |
CollectionSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
IterableSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
ObjectArraySerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
StdArraySerializers.TypedPrimitiveArraySerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializer<?> |
StdArraySerializers.BooleanArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Booleans never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
ContainerSerializer<?> |
StdArraySerializers.IntArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Ints never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
ContainerSerializer<?> |
StdArraySerializers.DoubleArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Doubles never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.