Package org.codehaus.jackson.map.ser.std
package org.codehaus.jackson.map.ser.std
-
ClassesClassDescriptionBase class for serializers that will output contents as JSON arrays; typically serializers used for
Collection
and array types.Base class both for the standard bean serializer, and couple of variants that only differ in small details.Standard serializer forCalendar
.Fallback serializer for cases where Collection is not known to be of type for which more specializer serializer exists (such as index-accessible List).Intermediate base class for types that contain element(s) of other types.For efficiency, we will serialize Dates as longs, instead of potentially more readable Strings.Specialized serializer forEnumMap
s.Standard serializer used forEnum
types.Efficient implementation for serializingList
s that contains Strings and are random-accessible.Simple serializer forInetAddress
.Serializer class that can serialize Object that have aJsonValue
annotation to indicate that serialization should be done by calling the method annotated, and serializing result it returns.Standard serializer implementation for serializing {link java.util.Map} types.Intermediate base class for limited number of scalar types that should never include type information.This is a simple dummy serializer that will just output literal JSON null value whenever serialization is requested.Generic serializer for Object arrays (Object[]
).This is a simple dummy serializer that will just output raw values by calling toString() on value to serialize.Generic handler for types that implementJsonSerializable
.Generic handler for types that implementJsonSerializableWithType
.Base class used by all standard serializers.StaticListSerializerBase<T extends Collection<?>>Intermediate base class for Lists, Collections and Arrays that contain static (non-dynamic) value types.Dummy container class to group standard homogenous array serializer implementations (primitive arrays and String array).Base class for serializers that will output contents as JSON arrays.Unlike other integral number array serializers, we do not just print out byte values as numbers.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.Standard serializer used forString[]
values.This is an optimized serializer for Lists that can be efficiently traversed by index (as opposed to others, such asLinkedList
that can not}.Class that providers access to serializers user for non-structured JDK types that are serializer as scalars; some using basicToStringSerializer
, others explicit serializers.Also: default bean access will not do much good with Class.class.For now, File objects get serialized by just outputting absolute (but not canonical) name as String valueSpecialized serializer that can be used as the generic key serializer, when serializingMap
s to JSON Objects.Efficient implement for serializingCollection
s that contain Strings.This is the special serializer for regularString
s.We also want to directly support serialization ofTokenBuffer
; and since it is part of core package, it can not implementJsonSerializable
(which is only included in the mapper package)Simple general purpose serializer, useful for any type for whichObject.toString()
returns the desired JSON value.