Package org.codehaus.jackson.map.ser

Contains implementation classes of serialization part of data binding.

See:
          Description

Interface Summary
BeanPropertyFilter Interface that defines API for filter objects use (as configured using JsonFilter) for filtering bean properties to serialize.
 

Class Summary
AnyGetterWriter Class similar to BeanPropertyWriter, but that will be used for serializing JsonAnyGetter annotated (Map) properties
ArraySerializers Dummy container class to group standard homogenous array serializer implementations (primitive arrays and String array).
ArraySerializers.AsArraySerializer<T> Base class for serializers that will output contents as JSON arrays.
ArraySerializers.BooleanArraySerializer  
ArraySerializers.ByteArraySerializer Unlike other integral number array serializers, we do not just print out byte values as numbers.
ArraySerializers.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.
ArraySerializers.DoubleArraySerializer  
ArraySerializers.FloatArraySerializer  
ArraySerializers.IntArraySerializer  
ArraySerializers.LongArraySerializer  
ArraySerializers.ShortArraySerializer  
ArraySerializers.StringArraySerializer Standard serializer used for String[] values.
BasicSerializerFactory Factory class that can provide serializers for standard JDK classes, as well as custom classes that extend standard classes or implement one of "well-known" interfaces (such as Collection).
BeanPropertyWriter Base bean property handler class, which implements common parts of reflection-based functionality for accessing a property value and serializing it.
BeanSerializer Serializer class that can serialize arbitrary bean objects
BeanSerializerBuilder Builder class used for aggregating deserialization information about a POJO, in order to build a JsonSerializer for serializing intances.
BeanSerializerFactory Factory class that can provide serializers for any regular Java beans (as defined by "having at least one get method recognizable as bean accessor" -- where Object.getClass() does not count); as well as for "standard" JDK types.
BeanSerializerFactory.ConfigImpl Configuration settings container class for bean serializer factory
BeanSerializerModifier Abstract class that defines API for objects that can be registered (for BeanSerializerFactory to participate in constructing BeanSerializer instances.
ContainerSerializerBase<T> Intermediate base class for types that contain element(s) of other types.
ContainerSerializers Dummy container class to group standard container serializers: serializers that can serialize things like Lists, Maps and such.
ContainerSerializers.AsArraySerializer<T> Base class for serializers that will output contents as JSON arrays.
ContainerSerializers.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).
ContainerSerializers.EnumSetSerializer  
ContainerSerializers.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}.
ContainerSerializers.IterableSerializer  
ContainerSerializers.IteratorSerializer  
CustomSerializerFactory Serializer factory implementation that allows for configuring mapping between types (classes) and serializers to use, by using multiple types of overrides.
EnumMapSerializer Specialized serializer for EnumMaps.
EnumSerializer Standard serializer used for Enum types.
FailingSerializer Special bogus "serializer" that will throw JsonGenerationException if its FailingSerializer.serialize(java.lang.Object, org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider) gets invoeked.
FilteredBeanPropertyWriter Decorated BeanPropertyWriter that will filter out properties that are not to be included in currently active JsonView.
FilterProvider Interface for objects that providers instances of BeanPropertyFilter that match given ids.
JdkSerializers Class that providers access to serializers user for non-structured JDK types that are serializer as scalars; some using basic ToStringSerializer, others explicit serializers.
JdkSerializers.AtomicBooleanSerializer  
JdkSerializers.AtomicIntegerSerializer  
JdkSerializers.AtomicLongSerializer  
JdkSerializers.AtomicReferenceSerializer  
JdkSerializers.ClassSerializer Also: default bean access will not do much good with Class.class.
JdkSerializers.FileSerializer For now, File objects get serialized by just outputting absolute (but not canonical) name as String value
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.
NullSerializer This is a simple dummy serializer that will just output literal JSON null value whenever serialization is requested.
PropertyBuilder Helper class for BeanSerializerFactory that is used to construct BeanPropertyWriter instances.
ScalarSerializerBase<T>  
SerializerBase<T> Base class used by all standard serializers.
SerializerCache Simple cache object that allows for doing 2-level lookups: first level is by "local" read-only lookup Map (used without locking) and second backup level is by a shared modifiable HashMap.
SerializerCache.TypeKey Key that offers two "modes"; one with raw class, as used for cases were raw class type is available (for example, when using runtime type); and one with full generics-including.
StdKeySerializer Specialized serializer that can be used as the generic key serializer, when serializing Maps to Json Objects.
StdSerializerProvider Default SerializerProvider implementation.
StdSerializers Container class for serializers used for handling standard JDK-provided types
StdSerializers.BooleanSerializer Serializer used for primitive boolean, as well as java.util.Boolean wrapper type.
StdSerializers.CalendarSerializer For time values we should use timestamp, since that is about the only thing that can be reliably converted between date-based objects and json.
StdSerializers.DoubleSerializer This is the special serializer for regular Doubles (and primitive doubles)
StdSerializers.FloatSerializer  
StdSerializers.IntegerSerializer This is the special serializer for regular Integers (and primitive ints)
StdSerializers.IntLikeSerializer Similar to StdSerializers.IntegerSerializer, but will not cast to Integer: instead, cast is to Number, and conversion is by calling Number.intValue().
StdSerializers.LongSerializer  
StdSerializers.NonTypedScalarSerializer<T> Intermediate base class for limited number of scalar types that should never include type information.
StdSerializers.NumberSerializer As a fallback, we may need to use this serializer for other types of Numbers (custom types).
StdSerializers.SerializableSerializer Generic handler for types that implement JsonSerializable.
StdSerializers.SerializableWithTypeSerializer Generic handler for types that implement JsonSerializableWithType.
StdSerializers.SqlDateSerializer Compared to regular StdSerializers.UtilDateSerializer, we do use String representation here.
StdSerializers.SqlTimeSerializer  
StdSerializers.StringSerializer This is the special serializer for regular Strings.
StdSerializers.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)
StdSerializers.UtilDateSerializer For efficiency, we will serialize Dates as longs, instead of potentially more readable Strings.
ToStringSerializer Simple general purpose serializer, useful for any type for which Object.toString() returns the desired Json value.
 

Package org.codehaus.jackson.map.ser Description

Contains implementation classes of serialization part of data binding.