Class Summary |
ArraySerializerBase<T> |
Intermediate base class for serializers used for various
Java arrays. |
AsArraySerializerBase<T> |
Base class for serializers that will output contents as JSON
arrays; typically serializers used for Collection
and array types. |
BeanSerializerBase |
Base class both for the standard bean serializer, and couple
of variants that only differ in small details. |
BooleanSerializer |
Serializer used for primitive boolean, as well as java.util.Boolean
wrapper type. |
CalendarSerializer |
Standard serializer for Calendar . |
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). |
DateSerializer |
For efficiency, we will serialize Dates as longs, instead of
potentially more readable Strings. |
DateTimeSerializerBase<T> |
|
EnumMapSerializer |
Specialized serializer for EnumMap s. |
EnumSerializer |
Standard serializer used for Enum types. |
EnumSetSerializer |
|
InetAddressSerializer |
Simple serializer for InetAddress . |
IterableSerializer |
|
JsonValueSerializer |
Serializer class that can serialize Object that have a
JsonValue annotation to
indicate that serialization should be done by calling the method
annotated, and serializing result it returns. |
MapSerializer |
Standard serializer implementation for serializing {link java.util.Map} types. |
NonTypedScalarSerializerBase<T> |
Intermediate base class for limited number of scalar types
that should never include type information. |
NullSerializer |
This is a simple dummy serializer that will just output literal
JSON null value whenever serialization is requested. |
NumberSerializers |
Container class for serializers used for handling standard JDK-provided types. |
NumberSerializers.DoubleSerializer |
This is the special serializer for regular Double s
(and primitive doubles) |
NumberSerializers.FloatSerializer |
|
NumberSerializers.IntegerSerializer |
This is the special serializer for regular Integer s
(and primitive ints) |
NumberSerializers.IntLikeSerializer |
Similar to NumberSerializers.IntegerSerializer , but will not cast to Integer:
instead, cast is to Number , and conversion is
by calling Number.intValue() . |
NumberSerializers.LongSerializer |
|
NumberSerializers.NumberSerializer |
As a fallback, we may need to use this serializer for other
types of Number s (custom types). |
ObjectArraySerializer |
Generic serializer for Object arrays (Object[] ). |
RawSerializer<T> |
This is a simple dummy serializer that will just output raw values by calling
toString() on value to serialize. |
SerializableSerializer |
Generic handler for types that implement JsonSerializable . |
SqlDateSerializer |
Compared to regular Date serialization, we do use String
representation here. |
SqlTimeSerializer |
|
StaticListSerializerBase<T extends Collection<?>> |
Intermediate base class for Lists, Collections and Arrays
that contain static (non-dynamic) value types. |
StdArraySerializers |
Dummy container class to group standard homogenous array serializer implementations
(primitive arrays and String array). |
StdArraySerializers.BooleanArraySerializer |
|
StdArraySerializers.ByteArraySerializer |
Unlike other integral number array serializers, we do not just print out byte values
as numbers. |
StdArraySerializers.CharArraySerializer |
Character arrays are different from other integral number arrays in that
they are most likely to be textual data, and should be written as
Strings, not arrays of entries. |
StdArraySerializers.DoubleArraySerializer |
|
StdArraySerializers.FloatArraySerializer |
|
StdArraySerializers.IntArraySerializer |
|
StdArraySerializers.LongArraySerializer |
|
StdArraySerializers.ShortArraySerializer |
|
StdArraySerializers.TypedPrimitiveArraySerializer<T> |
Intermediate base class used for cases where we may add
type information (excludes boolean/int/double arrays). |
StdContainerSerializers |
Dummy container class to group standard container serializers: serializers
that can serialize things like List s,
Map s and such. |
StdJdkSerializers |
Class that providers access to serializers user for non-structured JDK types that
are serializer as scalars; some using basic ToStringSerializer ,
others explicit serializers. |
StdJdkSerializers.AtomicBooleanSerializer |
|
StdJdkSerializers.AtomicIntegerSerializer |
|
StdJdkSerializers.AtomicLongSerializer |
|
StdJdkSerializers.AtomicReferenceSerializer |
|
StdJdkSerializers.ClassSerializer |
Also: default bean access will not do much good with Class.class. |
StdJdkSerializers.FileSerializer |
For now, File objects get serialized by just outputting
absolute (but not canonical) name as String value |
StdKeySerializer |
Specialized serializer that can be used as the generic key
serializer, when serializing Map s to JSON
Objects. |
StdKeySerializers |
|
StdKeySerializers.CalendarKeySerializer |
|
StdKeySerializers.DateKeySerializer |
|
StdKeySerializers.StringKeySerializer |
|
StdScalarSerializer<T> |
|
StdSerializer<T> |
Base class used by all standard serializers, and can also
be used for custom serializers (in fact, this is the recommended
base class to use). |
StringSerializer |
This is the special serializer for regular String s. |
TimeZoneSerializer |
|
TokenBufferSerializer |
We also want to directly support serialization of TokenBuffer ;
and since it is part of core package, it can not implement
JsonSerializable
(which is only included in the mapper package) |
ToStringSerializer |
Simple general purpose serializer, useful for any
type for which Object.toString() returns the desired JSON
value. |