Uses of Interface
com.fasterxml.jackson.databind.ser.ContextualSerializer
Packages that use ContextualSerializer
Package
Description
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
Contains implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
-
Uses of ContextualSerializer in com.fasterxml.jackson.databind.ext
Classes in com.fasterxml.jackson.databind.ext that implement ContextualSerializer -
Uses of ContextualSerializer in com.fasterxml.jackson.databind.ser
Classes in com.fasterxml.jackson.databind.ser that implement ContextualSerializerModifier and TypeClassDescriptionclassSerializer class that can serialize Java objects that map to JSON Object output. -
Uses of ContextualSerializer in com.fasterxml.jackson.databind.ser.impl
Classes in com.fasterxml.jackson.databind.ser.impl that implement ContextualSerializerModifier and TypeClassDescriptionclassSpecialized POJO serializer that differs fromBeanSerializerin that instead of producing a JSON Object it will output a JSON Array, omitting field names, and serializing values in specified serialization order.final classThis is an optimized serializer for Lists that can be efficiently traversed by index (as opposed to others, such asLinkedListthat cannot}.final classEfficient implement for serializingLists that contains Strings and are random-accessible.classclassclassStandard serializer used forString[]values.classEfficient implement for serializingCollections that contain Strings.final classSimple serializer that will call configured type serializer, passing in configured data serializer, and exposing it all as a simple serializer.class -
Uses of ContextualSerializer in com.fasterxml.jackson.databind.ser.std
Classes in com.fasterxml.jackson.databind.ser.std that implement ContextualSerializerModifier and TypeClassDescriptionclassIntermediate base class for serializers used for various Java arrays.classBase class for serializers that will output contents as JSON arrays; typically serializers used forCollectionand array types.classclassBase class both for the standard bean serializer, and couple of variants that only differ in small details.final classSerializer used for primitive boolean, as well as java.util.Boolean wrapper type.classStandard serializer forCalendar.classFallback serializer for cases where Collection is not known to be of type for which more specializer serializer exists (such as index-accessible List).classFor efficiency, we will serialize Dates as longs, instead of potentially more readable Strings.classclassStandard serializer used forEnumtypes.classclassSimple serializer forInetAddress.classclassSerializer class that can serialize Object that have aJsonValueannotation to indicate that serialization should be done by calling the method annotated, and serializing result it returns.classStandard serializer implementation for serializing {link java.util.Map} types.classAs a fallback, we may need to use this serializer for other types ofNumbers: both custom types and "big" numbers likeBigIntegerandBigDecimal.static classShared base class for actual primitive/wrapper number serializers.static classThis is the special serializer for regularDoubles (and primitive doubles)static classstatic classThis is the special serializer for regularIntegers (and primitive ints)static classSimilar toNumberSerializers.IntegerSerializer, but will not cast to Integer: instead, cast is toNumber, and conversion is by callingNumber.intValue().static classstatic classclassGeneric serializer for Object arrays (Object[]).classBase implementation for values ofReferenceType.classCompared to regularDateserialization, we do use String representation here.classStaticListSerializerBase<T extends Collection<?>>Intermediate base class for Lists, Collections and Arrays that contain static (non-dynamic) value types.static classstatic classstatic classstatic classstatic classstatic classprotected static classIntermediate base class used for cases where we may add type information (excludes boolean/int/double arrays).classSerializer implementation where given Java type is first converted to an intermediate "delegate type" (using a configuredConverter, and then this delegate value is serialized by Jackson.classSpecializedJsonSerializerto outputUUIDs.