Module tools.jackson.databind
Package tools.jackson.databind.ser
package tools.jackson.databind.ser
Contains implementation classes of serialization part of
data binding.
-
ClassDescriptionClass similar to
BeanPropertyWriter, but that will be used for serializingJsonAnyGetterannotated (Map) propertiesFactory 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 asCollection).Base bean property handler class, which implements common parts of reflection-based functionality for accessing a property value and serializing it.Serializer class that can serialize Java objects that map to JSON Object output.Builder class used for aggregating deserialization information about a POJO, in order to build aValueSerializerfor serializing instances.Factory class that can provide serializers for any regular Java beans (as defined by "having at least one get method recognizable as bean accessor" -- whereObject.getClass()does not count); as well as for "standard" JDK types.Interface for objects that provides instances ofPropertyFilterthat match given ids.Helper class forBeanSerializerFactorythat is used to constructBeanPropertyWriterinstances.Interface that defines API for filter objects use (as configured usingJsonFilter) for filtering bean properties to serialize.Base class for writers used to output property values (name-value pairs) as key/value pairs via streaming API.Extension overSerializationContextthat adds methods needed byObjectMapper(andObjectWriter) but that are not to be exposed as general context during serialization.Concrete implementation defined separately so it can be declared `final`.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.Abstract class that defines API used bySerializationContextto obtain actualValueSerializerinstances from multiple distinct factories.Interface that defines API for simple extensions that can provide additional serializers for various types.BasicSerializersimplementation that implements all methods but provides no serializers.Abstract class that defines API for objects that can be registered (viaObjectMapperconfiguration process, usingMapperBuilder) to participate in constructingValueSerializerinstances (including but not limited toBeanSerializers).BeanPropertyWriterimplementation used withJsonAppendto add "virtual" properties in addition to regular ones.Simple value container used to keep track of Object Ids during serialization.