Uses of Class
tools.jackson.databind.ValueSerializer
Packages that use ValueSerializer
Package
Description
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode), as well as
writing Java Objects and trees as JSON.Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
tools.jackson.databind).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.
Package that contains handlers specific to datatypes introduced in Java 8.
Package that contains handlers specific to SQL datatypes.
Package that contains classes and interfaces to help implement
custom extension
JacksonModules
(which are registered on ObjectMapper via builders}.Contains implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
-
Uses of ValueSerializer in tools.jackson.databind
Subclasses of ValueSerializer in tools.jackson.databindModifier and TypeClassDescriptionstatic classThis marker class is only to be used with annotations, to indicate that no serializer is configured.Fields in tools.jackson.databind declared as ValueSerializerModifier and TypeFieldDescriptionprotected final ValueSerializer<Object>SerializationContext._nullValueSerializerSerializer used to output a null value.protected final ValueSerializer<Object>SequenceWriter._rootSerializerprotected static final ValueSerializer<Object>SerializationContext.DEFAULT_UNKNOWN_SERIALIZERPlaceholder serializer used whenjava.lang.Objecttyped property is marked to be serialized.Methods in tools.jackson.databind that return ValueSerializerModifier and TypeMethodDescriptionprotected ValueSerializer<Object>SerializationContext._createAndCachePropertySerializer(Class<?> rawType, JavaType fullType, BeanProperty prop) Alternative toSerializationContext._createAndCacheUntypedSerializer(Class, JavaType), used when serializer is requested for given property.protected ValueSerializer<Object>SerializationContext._createAndCachePropertySerializer(JavaType type, BeanProperty prop) Alternative toSerializationContext._createAndCacheUntypedSerializer(JavaType), used when serializer is requested for given property.protected ValueSerializer<Object>SerializationContext._createAndCacheUntypedSerializer(Class<?> rawType, JavaType fullType) Method that will try to construct a value serializer; and if one is successfully created, cache it for reuse.protected ValueSerializer<Object>SerializationContext._createAndCacheUntypedSerializer(JavaType type) protected ValueSerializer<Object>SerializationContext._handleResolvable(ValueSerializer<?> ser) ValueSerializer.createContextual(SerializationContext ctxt, BeanProperty property) Method called to see if a different (or differently configured) serializer is needed to serialize values of specified property (or, for root values, in which case `null` is passed).SerializationContext.findContentValueSerializer(Class<?> rawType, BeanProperty property) SerializationContext.findContentValueSerializer(JavaType valueType, BeanProperty property) Method similar toSerializationContext.findPrimaryPropertySerializer(JavaType, BeanProperty)but used for "content values", secondary types used by "primary" serializers for structured types like Arrays,Collections,Maps and so on.SerializationContext.findKeySerializer(Class<?> rawKeyType, BeanProperty property) SerializationContext.findKeySerializer(JavaType keyType, BeanProperty property) Method called to get the serializer to use for serializing non-null Map keys.SerializationContext.findNullKeySerializer(JavaType serializationType, BeanProperty property) Method called to find a serializer to use for null values for given declared type.SerializationContext.findNullValueSerializer(BeanProperty property) Method called to get the serializer to use for serializing null values for specified property.SerializationContext.findPrimaryPropertySerializer(Class<?> rawType, BeanProperty property) SerializationContext.findPrimaryPropertySerializer(JavaType valueType, BeanProperty property) Method used for locating "primary" property value serializer (one directly handling value of the property).SerializationContext.findRootValueSerializer(Class<?> rawType) Method for finding (from cache) or creating (and caching) serializer for given type, without checking for polymorphic typing, and then contextualizing without actual property.SerializationContext.findRootValueSerializer(JavaType valueType) Method for finding (from cache) or creating (and caching) serializer for given type, without checking for polymorphic typing, and then contextualizing without actual property.SerializationContext.findTypedValueSerializer(Class<?> rawType, boolean cache) Method called to locate regular serializer, matching type serializer, and if both found, wrap them in a serializer that calls both in correct sequence.SerializationContext.findTypedValueSerializer(JavaType valueType, boolean cache) Method called to locate regular serializer, matching type serializer, and if both found, wrap them in a serializer that calls both in correct sequence.SerializationContext.findValueSerializer(Class<?> rawType) SerializationContext.findValueSerializer(JavaType valueType) Method variant used when we do NOT want contextualization to happen; it will need to be done at a later point (many serializers are not in operational state before contextualization, call tocreateContextual(SerializationContext, BeanProperty)), but caller wants to be able to do that at a later point; sometimes to avoid infinite loopsSerializationContext.getDefaultNullValueSerializer()ValueSerializer.getDelegatee()Accessor that can be used to determine if this serializer uses another serializer for actual serialization, by delegating calls.SerializationContext.getUnknownTypeSerializer(Class<?> unknownType) Method called to get the serializer to use if provider cannot determine an actual type-specific serializer to use; typically when none ofSerializerFactoryinstances are able to construct a serializer.final ValueSerializer<Object>ObjectWriter.Prefetch.getValueSerializer()SerializationContext.handlePrimaryContextualization(ValueSerializer<?> ser, BeanProperty property) Method called for primary property serializers (ones directly created to serialize values of a POJO property), to handle details of contextualization, callingcreateContextual(SerializationContext, BeanProperty)with given property context.SerializationContext.handleRootContextualization(ValueSerializer<?> ser) SerializationContext.handleSecondaryContextualization(ValueSerializer<?> ser, BeanProperty property) Method called for secondary property serializers (ones NOT directly created to serialize values of a POJO property but instead created as a dependant serializer -- such as value serializers for structured types, or serializers for root values) to handle details of contextualization, callingcreateContextual(SerializationContext, BeanProperty)with given property context.ValueSerializer.replaceDelegatee(ValueSerializer<?> delegatee) Method that can be called to try to replace serializer this serializer delegates calls to.abstract ValueSerializer<Object>SerializationContext.serializerInstance(Annotated annotated, Object serDef) Method that can be called to construct and configure serializer instance, either given aClassto instantiate (with default constructor), or an uninitialized serializer instance.ValueSerializer.unwrappingSerializer(NameTransformer unwrapper) Method that will return serializer instance that produces "unwrapped" serialization, if applicable for type being serialized (which is the case for some serializers that produce JSON Objects as output).ValueSerializer.withFilterId(Object filterId) Mutant factory method that is called if contextual configuration indicates that a specific filter (as specified byfilterId) is to be used for serialization.ValueSerializer.withFormatOverrides(SerializationConfig config, JsonFormat.Value formatOverrides) Mutant factory called if there is need to create a serializer with specified format overrides (typically from property on which this serializer would be used, based on type declaration).ValueSerializer.withIgnoredProperties(Set<String> ignoredProperties) Mutant factory method called to create a new instance after excluding specified set of properties by name, if there is any.Methods in tools.jackson.databind with parameters of type ValueSerializerModifier and TypeMethodDescriptionprotected ValueSerializer<Object>SerializationContext._handleResolvable(ValueSerializer<?> ser) SerializationContext.handlePrimaryContextualization(ValueSerializer<?> ser, BeanProperty property) Method called for primary property serializers (ones directly created to serialize values of a POJO property), to handle details of contextualization, callingcreateContextual(SerializationContext, BeanProperty)with given property context.SerializationContext.handleRootContextualization(ValueSerializer<?> ser) SerializationContext.handleSecondaryContextualization(ValueSerializer<?> ser, BeanProperty property) Method called for secondary property serializers (ones NOT directly created to serialize values of a POJO property but instead created as a dependant serializer -- such as value serializers for structured types, or serializers for root values) to handle details of contextualization, callingcreateContextual(SerializationContext, BeanProperty)with given property context.booleanSerializationContext.isUnknownTypeSerializer(ValueSerializer<?> ser) Helper method called to see if given serializer is considered to be something returned bySerializationContext.getUnknownTypeSerializer(java.lang.Class<?>), that is, something for which no regular serializer was found or constructed.JacksonModule.SetupContext.overrideDefaultNullKeySerializer(ValueSerializer<?> ser) Method that module can use to override handler called to write JSON Object key forMapvalues.JacksonModule.SetupContext.overrideDefaultNullValueSerializer(ValueSerializer<?> ser) Method that module can use to override handler called to write Java `null` as a value (Property or Map value, Collection/array element).ValueSerializer.replaceDelegatee(ValueSerializer<?> delegatee) Method that can be called to try to replace serializer this serializer delegates calls to. -
Uses of ValueSerializer in tools.jackson.databind.cfg
Fields in tools.jackson.databind.cfg declared as ValueSerializerModifier and TypeFieldDescriptionprotected final ValueSerializer<Object>SerializerFactoryConfig._nullKeySerializerSerializer used to (try to) output a null key, due to an entry ofMaphaving null key.protected final ValueSerializer<Object>SerializerFactoryConfig._nullValueSerializerSerializer used to output a null value, unless explicitly redefined for property.static final ValueSerializer<Object>SerializerFactoryConfig.DEFAULT_NULL_KEY_SERIALIZERMethods in tools.jackson.databind.cfg that return ValueSerializerModifier and TypeMethodDescriptionSerializerFactoryConfig.getNullKeySerializer()SerializerFactoryConfig.getNullValueSerializer()abstract ValueSerializer<?>HandlerInstantiator.serializerInstance(SerializationConfig config, Annotated annotated, Class<?> serClass) Method called to get an instance of serializer of specified type.Methods in tools.jackson.databind.cfg that return types with arguments of type ValueSerializerModifier and TypeMethodDescriptionCacheProvider.forSerializerCache(SerializationConfig config) Method to provide aLookupCacheinstance for constructingSerializerCache.DefaultCacheProvider.forSerializerCache(SerializationConfig config) Methods in tools.jackson.databind.cfg with parameters of type ValueSerializerModifier and TypeMethodDescriptionModuleContextBase.overrideDefaultNullKeySerializer(ValueSerializer<?> ser) ModuleContextBase.overrideDefaultNullValueSerializer(ValueSerializer<?> ser) SerializerFactoryConfig.withNullKeySerializer(ValueSerializer<?> nks) SerializerFactoryConfig.withNullValueSerializer(ValueSerializer<?> nvs) Constructors in tools.jackson.databind.cfg with parameters of type ValueSerializerModifierConstructorDescriptionprotectedSerializerFactoryConfig(Serializers[] allAdditionalSerializers, Serializers[] allAdditionalKeySerializers, ValueSerializerModifier[] modifiers, ValueSerializer<Object> nullKeySer, ValueSerializer<Object> nullValueSer) -
Uses of ValueSerializer in tools.jackson.databind.ext
Subclasses of ValueSerializer in tools.jackson.databind.extModifier and TypeClassDescriptionclassclassclassFields in tools.jackson.databind.ext declared as ValueSerializerMethods in tools.jackson.databind.ext that return ValueSerializerModifier and TypeMethodDescriptionQNameSerializer.createContextual(SerializationContext serializers, BeanProperty property) XMLGregorianCalendarSerializer.createContextual(SerializationContext ctxt, BeanProperty property) OptionalHandlerFactory.findSerializer(SerializationConfig config, JavaType type) XMLGregorianCalendarSerializer.getDelegatee()Constructors in tools.jackson.databind.ext with parameters of type ValueSerializer -
Uses of ValueSerializer in tools.jackson.databind.ext.javatime.ser
Subclasses of ValueSerializer in tools.jackson.databind.ext.javatime.serModifier and TypeClassDescriptionclassSerializer for Java 8 temporalDurations.classclassInstantSerializerBase<T extends Temporal>classSerializer for Java 8 temporalLocalDates.classSerializer for Java 8 temporalLocalDateTimes.classSerializer for Java 8 temporalLocalTimes.classSerializer for Java 8 temporalMonthDays.classSerializer for Java 8 temporalMonths.classclassSerializer for Java 8 temporalOffsetTimes.classSerializer for Java 8 temporalYearMonths.classSerializer for Java 8 temporalYears.classclassMethods in tools.jackson.databind.ext.javatime.ser that return ValueSerializerModifier and TypeMethodDescriptionDurationSerializer.createContextual(SerializationContext ctxt, BeanProperty property) -
Uses of ValueSerializer in tools.jackson.databind.ext.javatime.ser.key
Subclasses of ValueSerializer in tools.jackson.databind.ext.javatime.ser.key -
Uses of ValueSerializer in tools.jackson.databind.ext.jdk8
Subclasses of ValueSerializer in tools.jackson.databind.ext.jdk8Modifier and TypeClassDescriptionclassDoubleStreamserializerclassIntStreamserializerclassclassCommon typed stream serializerclassLongStreamserializerclassclassclassMethods in tools.jackson.databind.ext.jdk8 that return ValueSerializerModifier and TypeMethodDescriptionJdk8StreamSerializer.createContextual(SerializationContext provider, BeanProperty property) Methods in tools.jackson.databind.ext.jdk8 with parameters of type ValueSerializerModifier and TypeMethodDescriptionprotected ReferenceTypeSerializer<Optional<?>>Jdk8OptionalSerializer.withResolved(BeanProperty prop, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper) Constructors in tools.jackson.databind.ext.jdk8 with parameters of type ValueSerializerModifierConstructorDescriptionprotectedJdk8OptionalSerializer(Jdk8OptionalSerializer base, BeanProperty property, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper, Object suppressableValue, boolean suppressNulls) Jdk8OptionalSerializer(ReferenceType fullType, boolean staticTyping, TypeSerializer vts, ValueSerializer<Object> ser) Jdk8StreamSerializer(JavaType streamType, JavaType elemType, ValueSerializer<Object> elemSerializer) Constructor with custom serializer -
Uses of ValueSerializer in tools.jackson.databind.ext.sql
Subclasses of ValueSerializer in tools.jackson.databind.ext.sqlModifier and TypeClassDescriptionclassSerializer implementation forBlobto write as binary (for JSON and other formats Base64-encoded String, for binary formats as true binary).classCompared to regularDateserialization, we do use String representation here.classNOTE: name wasSqlTimeSerializerin Jackson 2.xMethods in tools.jackson.databind.ext.sql that return ValueSerializerModifier and TypeMethodDescriptionJavaSqlTypeHandlerFactory.findSerializer(SerializationConfig config, JavaType type) -
Uses of ValueSerializer in tools.jackson.databind.module
Fields in tools.jackson.databind.module declared as ValueSerializerModifier and TypeFieldDescriptionprotected ValueSerializer<?>SimpleModule._defaultNullKeySerializerprotected ValueSerializer<?>SimpleModule._defaultNullValueSerializerFields in tools.jackson.databind.module with type parameters of type ValueSerializerModifier and TypeFieldDescriptionprotected HashMap<ClassKey,ValueSerializer<?>> SimpleSerializers._classMappingsClass-based mappings that are used both for exact and sub-class matches.protected HashMap<ClassKey,ValueSerializer<?>> SimpleSerializers._interfaceMappingsInterface-based matches.Methods in tools.jackson.databind.module that return ValueSerializerModifier and TypeMethodDescriptionprotected ValueSerializer<?>SimpleSerializers._findInterfaceMapping(Class<?> cls, ClassKey key) protected ValueSerializer<?>SimpleSerializers._findSerializer(SerializationConfig config, JavaType type) SimpleSerializers.findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findEnumSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) SimpleSerializers.findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findMapSerializer(SerializationConfig config, MapType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findReferenceSerializer(SerializationConfig config, ReferenceType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentValueSerializer) SimpleSerializers.findSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) SimpleSerializers.findTreeNodeSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) Methods in tools.jackson.databind.module with parameters of type ValueSerializerModifier and TypeMethodDescriptionprotected voidSimpleSerializers._addSerializer(Class<?> cls, ValueSerializer<?> ser) <T> SimpleModuleSimpleModule.addKeySerializer(Class<? extends T> type, ValueSerializer<T> ser) NOTE: This method registers "default" (de)serializers only.<T> SimpleModuleSimpleModule.addSerializer(Class<? extends T> type, ValueSerializer<T> ser) Method for adding serializer to handle values of specific type.SimpleModule.addSerializer(ValueSerializer<?> ser) Method for adding serializer to handle type that the serializer claims to handle (seehandledType()).SimpleSerializers.addSerializer(Class<? extends T> type, ValueSerializer<T> ser) SimpleSerializers.addSerializer(ValueSerializer<?> ser) Method for adding given serializer for type thathandledType()specifies (which MUST return a non-null class; and CANNOT beObject, as a sanity check).SimpleSerializers.findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findMapSerializer(SerializationConfig config, MapType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findReferenceSerializer(SerializationConfig config, ReferenceType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentValueSerializer) SimpleModule.setDefaultNullKeySerializer(ValueSerializer<?> ser) SimpleModule.setDefaultNullValueSerializer(ValueSerializer<?> ser) Method parameters in tools.jackson.databind.module with type arguments of type ValueSerializerModifier and TypeMethodDescriptionSimpleSerializers.addSerializers(List<ValueSerializer<?>> sers) Constructor parameters in tools.jackson.databind.module with type arguments of type ValueSerializer -
Uses of ValueSerializer in tools.jackson.databind.ser
Subclasses of ValueSerializer in tools.jackson.databind.serModifier and TypeClassDescriptionclassSerializer class that can serialize Java objects that map to JSON Object output.classFields in tools.jackson.databind.ser declared as ValueSerializerModifier and TypeFieldDescriptionprotected ValueSerializer<Object>BeanPropertyWriter._nullSerializerSerializer used for writing out null values, if any: if null, null values are to be suppressed.protected ValueSerializer<Object>AnyGetterWriter._serializerprotected ValueSerializer<Object>BeanPropertyWriter._serializerSerializer to use for writing out the value: null if it cannot be known statically; non-null if it can.Methods in tools.jackson.databind.ser that return ValueSerializerModifier and TypeMethodDescriptionprotected ValueSerializer<?>BasicSerializerFactory._buildReferenceSerializer(SerializationContext ctxt, Class<?> baseType, ReferenceType refType, BeanDescription.Supplier beanDescRef, boolean staticTyping, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentSerializer) protected ValueSerializer<?>BeanSerializerFactory._createSerializer2(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, JavaType type, JsonFormat.Value formatOverrides, boolean staticTyping) protected ValueSerializer<Object>BeanPropertyWriter._findAndAddDynamic(PropertySerializerMap map, Class<?> rawType, SerializationContext provider) protected ValueSerializer<Object>BasicSerializerFactory._findContentSerializer(SerializationContext ctxt, Annotated a) Helper method called to try to find whether there is an annotation in the class that indicates content ("value") serializer to use.protected ValueSerializer<Object>BasicSerializerFactory._findKeySerializer(SerializationContext ctxt, Annotated a) Helper method called to try to find whether there is an annotation in the class that indicates key serializer to use.protected ValueSerializer<?>BeanSerializerFactory._findUnsupportedTypeSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) BeanSerializerBuilder.build()Method called to createBeanSerializerinstance with all accumulated information.protected ValueSerializer<?>BasicSerializerFactory.buildArraySerializer(SerializationContext ctxt, ArrayType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forObject[](and subtypes, except for String).protected ValueSerializer<?>BasicSerializerFactory.buildCollectionSerializer(SerializationContext ctxt, CollectionType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forListtypes that support efficient by-index accessprotected ValueSerializer<?>BasicSerializerFactory.buildContainerSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping) protected ValueSerializer<?>BasicSerializerFactory.buildEnumSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value effectiveFormat) BasicSerializerFactory.buildEnumSetSerializer(JavaType enumType) protected ValueSerializer<?>BasicSerializerFactory.buildIterableSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value effectiveFormat, boolean staticTyping, JavaType valueType) protected ValueSerializer<?>BasicSerializerFactory.buildIteratorSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDesc, JsonFormat.Value formatOverrides, boolean staticTyping, JavaType valueType) protected ValueSerializer<?>BasicSerializerFactory.buildMapEntrySerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value effectiveFormat, boolean staticTyping, JavaType keyType, JavaType valueType) protected ValueSerializer<?>BasicSerializerFactory.buildMapSerializer(SerializationContext ctxt, MapType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forMaptypes.protected ValueSerializer<Object>BeanSerializerFactory.constructBeanOrAddOnSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value format, boolean staticTyping) Method called to construct serializer based on checking which condition is matched: Nominal type isjava.lang.Object: if so, return special "no type known" serializer If a known "not-POJO" type (like JDKProxy), returnnullIf at least one logical property found, build actualBeanSerializerIf add-on type (likeIterable) found, create appropriate serializer If one of Jackson's "well-known" annotations found, create bogus "empty Object" Serializer or, if none matched, returnnull.BasicSerializerFactory.createKeySerializer(SerializationContext ctxt, JavaType keyType) abstract ValueSerializer<Object>SerializerFactory.createKeySerializer(SerializationContext ctxt, JavaType type) Method called to create serializer to use for serializing JSON property names (which must be output asJsonToken.FIELD_NAME) for Map that has specified declared key type, and is for specified property (or, if property is null, as root value)BeanSerializerFactory.createSerializer(SerializationContext ctxt, JavaType origType, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) Main serializer constructor method.SerializerFactory.createSerializer(SerializationContext ctxt, JavaType baseType) Deprecated.abstract ValueSerializer<Object>SerializerFactory.createSerializer(SerializationContext ctxt, JavaType baseType, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverride) Method called to create (or, for immutable serializers, reuse) a serializer for given type.default ValueSerializer<?>Serializers.findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified array type.default ValueSerializer<?>Serializers.findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified "Collection-like" type (type that acts likeCollection, but does not implement it).default ValueSerializer<?>Serializers.findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specifiedCollectiontype.protected ValueSerializer<?>BasicSerializerFactory.findConvertingSerializer(SerializationContext ctxt, Annotated a, ValueSerializer<?> ser) Helper method that will check whether given annotated entity (usually class, but may also be a property accessor) indicates that aConverteris to be used; and if so, to construct and return suitable serializer for it.default ValueSerializer<?>Serializers.findEnumSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) Method called by serialization framework first time a serializer is needed for givenEnumtype.default ValueSerializer<?>Serializers.findExplicitPOJOSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) Method called in case that a given type or property is declared to use shapeJsonFormat.Shape.POJOand is expected to be serialized "as POJO", that is, as an (JSON) Object.default ValueSerializer<?>Serializers.findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified "Map-like" type (type that acts likeMap, but does not implement it).default ValueSerializer<?>Serializers.findMapSerializer(SerializationConfig config, MapType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specifiedMaptype.BasicSerializerFactory.findReferenceSerializer(SerializationContext ctxt, ReferenceType refType, BeanDescription.Supplier beanDesc, JsonFormat.Value format, boolean staticTyping) default ValueSerializer<?>Serializers.findReferenceSerializer(SerializationConfig config, ReferenceType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentValueSerializer) Method called by serialization framework first time a serializer is needed for givenReferenceTypedefault ValueSerializer<?>Serializers.findSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) Fallback ethod called by serialization framework first time a serializer is needed for given type, which is not of any more specific type (like enum, tree node, reference or container type) for which other methods are called).protected final ValueSerializer<?>BasicSerializerFactory.findSerializerByAddonType(SerializationContext ctxt, JavaType javaType, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping) Reflection-based serialized find method, which checks if given class implements one of recognized "add-on" interfaces.protected final ValueSerializer<?>BasicSerializerFactory.findSerializerByAnnotations(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) Method called to see if one of primary per-class annotations (or related, like implementing ofJacksonSerializable) determines the serializer to use.protected final ValueSerializer<?>BasicSerializerFactory.findSerializerByPrimaryType(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping) Method for checking if we can determine serializer to use based on set of known primary types, checking for set of known base types (exact matches having been compared against withfindSerializerByLookup).protected ValueSerializer<Object>BasicSerializerFactory.findSerializerFromAnnotation(SerializationContext ctxt, Annotated a) Helper method called to check if a class or method has an annotation (@link tools.jackson.databind.annotation.JsonSerialize#using) that tells the class to use for serialization.default ValueSerializer<?>Serializers.findTreeNodeSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) BasicSerializerFactory.getDefaultNullKeySerializer()abstract ValueSerializer<Object>SerializerFactory.getDefaultNullKeySerializer()Returns serializer used to (try to) output a null key, due to an entry ofMaphaving null key.BasicSerializerFactory.getDefaultNullValueSerializer()abstract ValueSerializer<Object>SerializerFactory.getDefaultNullValueSerializer()BeanPropertyWriter.getSerializer()ValueSerializerModifier.modifyArraySerializer(SerializationConfig config, ArrayType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) Method called byDeserializerFactoryafter it has constructed the standard serializer for givenArrayTypeto make it possible to either replace or augment this serializer with additional functionality.ValueSerializerModifier.modifyCollectionLikeSerializer(SerializationConfig config, CollectionLikeType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyCollectionSerializer(SerializationConfig config, CollectionType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyEnumSerializer(SerializationConfig config, JavaType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyKeySerializer(SerializationConfig config, JavaType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) Method called byDeserializerFactoryafter it has constructed the default key serializer to use for serializingMapkeys of given type.ValueSerializerModifier.modifyMapLikeSerializer(SerializationConfig config, MapLikeType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyMapSerializer(SerializationConfig config, MapType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifySerializer(SerializationConfig config, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) Method called byBeanSerializerFactoryafter constructing default bean serializer instance with properties collected and ordered earlier.SerializationContextExt.serializerInstance(Annotated annotated, Object serDef) SerializerCache.typedValueSerializer(Class<?> cls) SerializerCache.typedValueSerializer(JavaType type) SerializerCache.untypedValueSerializer(Class<?> type) Method that checks if the shared (and hence, synchronized) lookup Map might have untyped serializer for given type.SerializerCache.untypedValueSerializer(JavaType type) BeanSerializer.unwrappingSerializer(NameTransformer unwrapper) UnrolledBeanSerializer.unwrappingSerializer(NameTransformer unwrapper) BeanSerializer.withIgnoredProperties(Set<String> toIgnore) UnrolledBeanSerializer.withIgnoredProperties(Set<String> toIgnore) Methods in tools.jackson.databind.ser with parameters of type ValueSerializerModifier and TypeMethodDescriptionprotected ValueSerializer<?>BasicSerializerFactory._buildReferenceSerializer(SerializationContext ctxt, Class<?> baseType, ReferenceType refType, BeanDescription.Supplier beanDescRef, boolean staticTyping, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentSerializer) protected BeanPropertyWriterPropertyBuilder._constructPropertyWriter(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue, Class<?>[] includeInViews) Overridable factory method for actual construction ofBeanPropertyWriter; often needed if subclassingPropertyBuilder.buildWriter(tools.jackson.databind.SerializationContext, tools.jackson.databind.introspect.BeanPropertyDefinition, tools.jackson.databind.JavaType, tools.jackson.databind.ValueSerializer<?>, tools.jackson.databind.jsontype.TypeSerializer, tools.jackson.databind.jsontype.TypeSerializer, tools.jackson.databind.introspect.AnnotatedMember, boolean)method.protected booleanBeanPropertyWriter._handleSelfReference(Object bean, JsonGenerator g, SerializationContext ctxt, ValueSerializer<?> ser) Method called to handle a direct self-reference through this property.voidSerializerCache.addAndResolveNonTypedSerializer(Class<?> rawType, JavaType fullType, ValueSerializer<Object> ser, SerializationContext provider) Another alternative that will cover both access via raw type and matching fully resolved type, in one fell swoop.voidSerializerCache.addAndResolveNonTypedSerializer(Class<?> type, ValueSerializer<Object> ser, SerializationContext provider) voidSerializerCache.addAndResolveNonTypedSerializer(JavaType type, ValueSerializer<Object> ser, SerializationContext provider) voidSerializerCache.addTypedSerializer(Class<?> cls, ValueSerializer<Object> ser) voidSerializerCache.addTypedSerializer(JavaType type, ValueSerializer<Object> ser) Method called if none of lookups succeeded, and caller had to construct a serializer.voidBeanPropertyWriter.assignNullSerializer(ValueSerializer<Object> nullSer) Method called to assign null value serializer for propertyvoidBeanPropertyWriter.assignSerializer(ValueSerializer<Object> ser) Method called to assign value serializer for propertyprotected ValueSerializer<?>BasicSerializerFactory.buildArraySerializer(SerializationContext ctxt, ArrayType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forObject[](and subtypes, except for String).BasicSerializerFactory.buildCollectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, ValueSerializer<Object> valueSerializer) protected ValueSerializer<?>BasicSerializerFactory.buildCollectionSerializer(SerializationContext ctxt, CollectionType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forListtypes that support efficient by-index accessBasicSerializerFactory.buildIndexedListSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, ValueSerializer<Object> valueSerializer) protected ValueSerializer<?>BasicSerializerFactory.buildMapSerializer(SerializationContext ctxt, MapType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forMaptypes.protected BeanPropertyWriterPropertyBuilder.buildWriter(SerializationContext ctxt, BeanPropertyDefinition propDef, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, TypeSerializer contentTypeSer, AnnotatedMember am, boolean defaultUseStaticTyping) default ValueSerializer<?>Serializers.findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified array type.default ValueSerializer<?>Serializers.findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified "Collection-like" type (type that acts likeCollection, but does not implement it).default ValueSerializer<?>Serializers.findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specifiedCollectiontype.protected ValueSerializer<?>BasicSerializerFactory.findConvertingSerializer(SerializationContext ctxt, Annotated a, ValueSerializer<?> ser) Helper method that will check whether given annotated entity (usually class, but may also be a property accessor) indicates that aConverteris to be used; and if so, to construct and return suitable serializer for it.default ValueSerializer<?>Serializers.findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified "Map-like" type (type that acts likeMap, but does not implement it).default ValueSerializer<?>Serializers.findMapSerializer(SerializationConfig config, MapType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specifiedMaptype.default ValueSerializer<?>Serializers.findReferenceSerializer(SerializationConfig config, ReferenceType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentValueSerializer) Method called by serialization framework first time a serializer is needed for givenReferenceTypeValueSerializerModifier.modifyArraySerializer(SerializationConfig config, ArrayType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) Method called byDeserializerFactoryafter it has constructed the standard serializer for givenArrayTypeto make it possible to either replace or augment this serializer with additional functionality.ValueSerializerModifier.modifyCollectionLikeSerializer(SerializationConfig config, CollectionLikeType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyCollectionSerializer(SerializationConfig config, CollectionType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyEnumSerializer(SerializationConfig config, JavaType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyKeySerializer(SerializationConfig config, JavaType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) Method called byDeserializerFactoryafter it has constructed the default key serializer to use for serializingMapkeys of given type.ValueSerializerModifier.modifyMapLikeSerializer(SerializationConfig config, MapLikeType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyMapSerializer(SerializationConfig config, MapType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifySerializer(SerializationConfig config, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) Method called byBeanSerializerFactoryafter constructing default bean serializer instance with properties collected and ordered earlier.voidSerializationContextExt.serializePolymorphic(JsonGenerator gen, Object value, JavaType rootType, ValueSerializer<Object> valueSer, TypeSerializer typeSer) Alternate serialization call used for polymorphic types, whenTypeSerializeris already known, but the actual serializer may or may not be.voidSerializationContextExt.serializeValue(JsonGenerator gen, Object value, JavaType rootType, ValueSerializer<Object> ser) The method to be called byObjectWriterfor serializing given value (assumed to be of specified root type, instead of runtime type of value), when it may know specificValueSerializerto use.final SerializerFactoryBasicSerializerFactory.withNullKeySerializer(ValueSerializer<?> nks) abstract SerializerFactorySerializerFactory.withNullKeySerializer(ValueSerializer<?> nks) final SerializerFactoryBasicSerializerFactory.withNullValueSerializer(ValueSerializer<?> nvs) abstract SerializerFactorySerializerFactory.withNullValueSerializer(ValueSerializer<?> nvs) Constructors in tools.jackson.databind.ser with parameters of type ValueSerializerModifierConstructorDescriptionAnyGetterWriter(BeanPropertyWriter parent, BeanProperty property, AnnotatedMember accessor, ValueSerializer<?> serializer) BeanPropertyWriter(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue, Class<?>[] includeInViews) protectedVirtualBeanPropertyWriter(BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, JavaType serType, JsonInclude.Value inclusion, Class<?>[] includeInViews) Pass-through constructor that may be used by sub-classes that want full control over implementation.Constructor parameters in tools.jackson.databind.ser with type arguments of type ValueSerializerModifierConstructorDescriptionprotected -
Uses of ValueSerializer in tools.jackson.databind.ser.bean
Subclasses of ValueSerializer in tools.jackson.databind.ser.beanModifier 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.classBase class both for the standard bean serializer, and couple of variants that only differ in small details.classSpecialization ofBeanAsArraySerializer, optimized for handling small number of properties where calls to property handlers can be "unrolled" by eliminated looping.classMethods in tools.jackson.databind.ser.bean that return ValueSerializerModifier and TypeMethodDescriptionprotected ValueSerializer<Object>UnwrappingBeanPropertyWriter._findAndAddDynamic(PropertySerializerMap map, Class<?> type, SerializationContext provider) BeanSerializerBase.createContextual(SerializationContext ctxt, BeanProperty property) protected ValueSerializer<Object>BeanSerializerBase.findConvertingSerializer(SerializationContext provider, BeanPropertyWriter prop) Helper method that can be used to see if specified property is annotated to indicate use of a converter for property value (in case of container types, it is container type itself, not key or content type).BeanAsArraySerializer.unwrappingSerializer(NameTransformer transformer) abstract ValueSerializer<Object>BeanSerializerBase.unwrappingSerializer(NameTransformer unwrapper) Lets force sub-classes to implement this, to avoid accidental missing of handling...UnrolledBeanAsArraySerializer.unwrappingSerializer(NameTransformer transformer) UnwrappingBeanSerializer.unwrappingSerializer(NameTransformer transformer) Methods in tools.jackson.databind.ser.bean with parameters of type ValueSerializerModifier and TypeMethodDescriptionvoidUnwrappingBeanPropertyWriter.assignSerializer(ValueSerializer<Object> ser) -
Uses of ValueSerializer in tools.jackson.databind.ser.impl
Subclasses of ValueSerializer in tools.jackson.databind.ser.implModifier and TypeClassDescriptionclassSpecial bogus "serializer" that will throwDatabindExceptionif itsFailingSerializer.serialize(java.lang.Object, tools.jackson.core.JsonGenerator, tools.jackson.databind.SerializationContext)gets invoked.final classSimple serializer that will call configured type serializer, passing in configured data serializer, and exposing it all as a simple serializer.classclassSpecial bogus "serializer" that will throwInvalidDefinitionExceptionif itsUnsupportedTypeSerializer.serialize(java.lang.Object, tools.jackson.core.JsonGenerator, tools.jackson.databind.SerializationContext)gets invoked.Fields in tools.jackson.databind.ser.impl declared as ValueSerializerModifier and TypeFieldDescriptionprotected final ValueSerializer<Object>TypeWrappedSerializer._serializerfinal ValueSerializer<Object>ObjectIdWriter.serializerSerializer used for serializing id values.final ValueSerializer<Object>PropertySerializerMap.SerializerAndMapResult.serializerMethods in tools.jackson.databind.ser.impl that return ValueSerializerModifier and TypeMethodDescriptionTypeWrappedSerializer.createContextual(SerializationContext provider, BeanProperty property) abstract ValueSerializer<Object>PropertySerializerMap.serializerFor(Class<?> type) Main lookup method.ReadOnlyClassToSerializerMap.typedValueSerializer(Class<?> rawType) ReadOnlyClassToSerializerMap.typedValueSerializer(JavaType type) ReadOnlyClassToSerializerMap.untypedValueSerializer(Class<?> rawType) ReadOnlyClassToSerializerMap.untypedValueSerializer(JavaType type) TypeWrappedSerializer.valueSerializer()Methods in tools.jackson.databind.ser.impl with parameters of type ValueSerializerModifier and TypeMethodDescriptionPropertySerializerMap.addSerializer(Class<?> type, ValueSerializer<Object> serializer) Method that can be used to 'register' a serializer that caller has resolved without help of this map.PropertySerializerMap.addSerializer(JavaType type, ValueSerializer<Object> serializer) abstract PropertySerializerMapPropertySerializerMap.newWith(Class<?> type, ValueSerializer<Object> serializer) ObjectIdWriter.withSerializer(ValueSerializer<?> ser) Method parameters in tools.jackson.databind.ser.impl with type arguments of type ValueSerializerModifier and TypeMethodDescriptionPropertySerializerMap.findAndAddSecondarySerializer(Class<?> type, SerializationContext provider, BeanProperty property, UnaryOperator<ValueSerializer<Object>> serTransformer) PropertySerializerMap.findAndAddSecondarySerializer(JavaType type, SerializationContext provider, BeanProperty property, UnaryOperator<ValueSerializer<Object>> serTransformer) static ReadOnlyClassToSerializerMapReadOnlyClassToSerializerMap.from(SerializerCache shared, LookupCache<TypeKey, ValueSerializer<Object>> src) Factory method for constructing an instance.Constructors in tools.jackson.databind.ser.impl with parameters of type ValueSerializerModifierConstructorDescriptionprotectedObjectIdWriter(JavaType t, SerializableString propName, ObjectIdGenerator<?> gen, ValueSerializer<?> ser, boolean alwaysAsId) SerializerAndMapResult(ValueSerializer<Object> serializer, PropertySerializerMap map) TypeWrappedSerializer(TypeSerializer typeSer, ValueSerializer<?> ser) Constructor parameters in tools.jackson.databind.ser.impl with type arguments of type ValueSerializerModifierConstructorDescriptionprotectedReadOnlyClassToSerializerMap(SerializerCache shared, LookupCache<TypeKey, ValueSerializer<Object>> src) -
Uses of ValueSerializer in tools.jackson.databind.ser.jackson
Subclasses of ValueSerializer in tools.jackson.databind.ser.jacksonModifier and TypeClassDescriptionclassGeneric handler for types that implementJacksonSerializable.classSerializer 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.classThis is a simple dummy serializer that will just output raw values by calling toString() on value to serialize.classWe also want to directly support serialization ofTokenBuffer; and since it is part of core package, it cannot implementJacksonSerializable(which is only included in the mapper package)Methods in tools.jackson.databind.ser.jackson that return ValueSerializerModifier and TypeMethodDescriptionprotected ValueSerializer<Object>JsonValueSerializer._findSerializer(SerializationContext ctxt, Object value) protected static ValueSerializer<Object>JsonValueSerializer._withIgnoreProperties(ValueSerializer<?> ser, Set<String> ignoredProperties) Internal helper that configures the providedserto ignore properties specified byJsonIgnoreProperties.JsonValueSerializer.createContextual(SerializationContext ctxt, BeanProperty property) We can try to find the actual serializer for value, if we can statically figure out what the result type must be.Methods in tools.jackson.databind.ser.jackson with parameters of type ValueSerializerModifier and TypeMethodDescriptionprotected static ValueSerializer<Object>JsonValueSerializer._withIgnoreProperties(ValueSerializer<?> ser, Set<String> ignoredProperties) Internal helper that configures the providedserto ignore properties specified byJsonIgnoreProperties.static JsonValueSerializerJsonValueSerializer.construct(SerializationConfig config, JavaType nominalType, JavaType valueType, boolean staticTyping, TypeSerializer vts, ValueSerializer<?> ser, AnnotatedMember accessor) protected booleanJsonValueSerializer.isNaturalTypeWithStdHandling(Class<?> rawType, ValueSerializer<?> ser) JsonValueSerializer.withResolved(BeanProperty property, TypeSerializer vts, ValueSerializer<?> ser, boolean forceTypeInfo) Constructors in tools.jackson.databind.ser.jackson with parameters of type ValueSerializerModifierConstructorDescriptionprotectedJsonValueSerializer(JavaType nominalType, JavaType valueType, boolean staticTyping, TypeSerializer vts, ValueSerializer<?> ser, AnnotatedMember accessor, Set<String> ignoredProperties) protectedJsonValueSerializer(JsonValueSerializer src, BeanProperty property, TypeSerializer vts, ValueSerializer<?> ser, boolean forceTypeInfo) -
Uses of ValueSerializer in tools.jackson.databind.ser.jdk
Subclasses of ValueSerializer in tools.jackson.databind.ser.jdkModifier and TypeClassDescriptionclassfinal classSerializer used for primitive boolean, as well as java.util.Boolean wrapper type.classUnlike other integral number array serializers, we do not just print out byte values as numbers.classclassFallback serializer for cases where Collection is not known to be of type for which more specializer serializer exists (such as index-accessible List).classclassStandard serializer used forEnumtypes.classfinal 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.classSimple serializer forInetAddress.classSimple serializer forInetSocketAddress.classclassclassStandard serializer forCalendar.classFor efficiency, we will serialize Dates as longs, instead of potentially more readable Strings.static classAlternative serializer for arrays of primitive doubles, using "packed binary" representation ("binary vector") instead of JSON array.static classAlternative serializer for arrays of primitive floats, using "packed binary" representation ("binary vector") instead of JSON array.static classstatic classCharacter 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.static classstatic classstatic classstatic classstatic classprotected static classIntermediate base class used for cases where we may add type information (excludes boolean/int/double arrays).static classThis is a "chameleon" style multi-type key serializer for simple standard JDK types.static classKey serializer used when key type is not known statically, and actual key serializer needs to be dynamically located.static classSpecialized instance to use for Enum keys, as per [databind#1322]static classSimple and fast key serializer when keys are Strings.static classstatic classstatic classstatic classclass"Combo" serializer used for JDK types that work almost likeToStringSerializer.classSerializer used to serialize Map.Entry as POJOs: that is, as if introspected as POJOs so that there's intermediate "key" and "value" properties.classclassStandard 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 classBase class for actual primitive/wrapper value 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[]).classStaticListSerializerBase<T extends Collection<?>>Intermediate base class for Lists, Collections and Arrays that contain static (non-dynamic) value types.classStandard serializer used forString[]values.classEfficient implement for serializingCollections that contain Strings.final classThis is the special serializer for regularStrings.classclassSpecializedValueSerializerto outputUUIDs.Fields in tools.jackson.databind.ser.jdk declared as ValueSerializerModifier and TypeFieldDescriptionprotected ValueSerializer<Object>ObjectArraySerializer._elementSerializerValue serializer to use, if it can be statically determined.protected final ValueSerializer<Object>StringArraySerializer._elementSerializerValue serializer to use, if it's not the standard one (if it is we can optimize serialization significantly)protected ValueSerializer<Object>MapEntrySerializer._keySerializerKey serializer to use, if it can be statically determinedprotected ValueSerializer<Object>MapProperty._keySerializerprotected ValueSerializer<Object>MapSerializer._keySerializerKey serializer to use, if it can be statically determinedprotected ValueSerializer<Object>MapEntrySerializer._valueSerializerValue serializer to use, if it can be statically determinedprotected ValueSerializer<Object>MapProperty._valueSerializerprotected ValueSerializer<Object>MapSerializer._valueSerializerValue serializer to use, if it can be statically determinedprotected static final ValueSerializer<Object>JDKKeySerializers.DEFAULT_STRING_SERIALIZERFields in tools.jackson.databind.ser.jdk with type parameters of type ValueSerializerModifier and TypeFieldDescriptionprotected static final HashMap<String,ValueSerializer<?>> JDKArraySerializers._arraySerializersprotected static final HashMap<String,ValueSerializer<?>> JDKCoreSerializers._concreteSince these are all JDK classes, we shouldn't have to worry about ClassLoader used to load them.Methods in tools.jackson.databind.ser.jdk that return ValueSerializerModifier and TypeMethodDescriptionprotected ValueSerializer<Object>JDKKeySerializers.Dynamic._findAndAddDynamic(PropertySerializerMap map, Class<?> type, SerializationContext provider) IndexedStringListSerializer._withResolved(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.BooleanArraySerializer._withResolved(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.DoubleArraySerializer._withResolved(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.FloatArraySerializer._withResolved(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.IntArraySerializer._withResolved(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.LongArraySerializer._withResolved(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.ShortArraySerializer._withResolved(BeanProperty prop, Boolean unwrapSingle) ObjectArraySerializer._withResolved(BeanProperty prop, Boolean unwrapSingle) abstract ValueSerializer<?>StaticListSerializerBase._withResolved(BeanProperty prop, Boolean unwrapSingle) StringArraySerializer._withResolved(BeanProperty prop, Boolean unwrapSingle) StringCollectionSerializer._withResolved(BeanProperty prop, Boolean unwrapSingle) static ValueSerializer<?>NumberSerializer.bigDecimalAsStringSerializer()BooleanSerializer.createContextual(SerializationContext serializers, BeanProperty property) DateTimeSerializerBase.createContextual(SerializationContext serializers, BeanProperty property) EnumSerializer.createContextual(SerializationContext ctxt, BeanProperty property) To support some level of per-property configuration, we will need to make things contextual.InetAddressSerializer.createContextual(SerializationContext ctxt, BeanProperty property) JDKArraySerializers.BinaryDoubleArraySerializer.createContextual(SerializationContext ctxt, BeanProperty property) JDKArraySerializers.BinaryFloatArraySerializer.createContextual(SerializationContext ctxt, BeanProperty property) JDKArraySerializers.DoubleArraySerializer.createContextual(SerializationContext ctxt, BeanProperty property) JDKArraySerializers.FloatArraySerializer.createContextual(SerializationContext ctxt, BeanProperty property) MapEntrySerializer.createContextual(SerializationContext provider, BeanProperty property) MapSerializer.createContextual(SerializationContext ctxt, BeanProperty property) NumberSerializer.createContextual(SerializationContext prov, BeanProperty property) NumberSerializers.Base.createContextual(SerializationContext prov, BeanProperty property) ObjectArraySerializer.createContextual(SerializationContext ctxt, BeanProperty property) StaticListSerializerBase.createContextual(SerializationContext serializers, BeanProperty property) StringArraySerializer.createContextual(SerializationContext provider, BeanProperty property) UUIDSerializer.createContextual(SerializationContext serializers, BeanProperty property) static final ValueSerializer<?>Method called byBasicSerializerFactoryto find one of serializers provided here.static final ValueSerializer<?>Method called byBasicSerializerFactoryto find one of serializers provided here.static final ValueSerializer<?>static ValueSerializer<?>JDKArraySerializers.findStandardImpl(SerializationContext ctxt, Class<?> cls, JsonFormat.Value formatOverrides) Accessor for checking to see if there is a standard serializer for given primitive value type.JDKArraySerializers.BooleanArraySerializer.getContentSerializer()JDKArraySerializers.DoubleArraySerializer.getContentSerializer()JDKArraySerializers.FloatArraySerializer.getContentSerializer()JDKArraySerializers.IntArraySerializer.getContentSerializer()JDKArraySerializers.LongArraySerializer.getContentSerializer()JDKArraySerializers.ShortArraySerializer.getContentSerializer()MapEntrySerializer.getContentSerializer()MapSerializer.getContentSerializer()ObjectArraySerializer.getContentSerializer()StringArraySerializer.getContentSerializer()static ValueSerializer<Object>JDKKeySerializers.getFallbackKeySerializer(SerializationConfig config, Class<?> rawKeyType, AnnotatedClass annotatedClass) Method called if no specified key serializer was located; will return a "default" key serializer initialized byJDKKeySerializers.EnumKeySerializer.construct(Class, EnumValues, EnumValues)MapSerializer.getKeySerializer()Accessor for currently assigned key serializer.static ValueSerializer<Object>JDKKeySerializers.getStdKeySerializer(SerializationConfig config, Class<?> rawKeyType, boolean useDefault) Methods in tools.jackson.databind.ser.jdk with parameters of type ValueSerializerModifier and TypeMethodDescriptionstatic MapSerializerMapSerializer.construct(JavaType mapType, boolean staticValueType, TypeSerializer vts, ValueSerializer<Object> keySerializer, ValueSerializer<Object> valueSerializer, Object filterId, Set<String> ignoredEntries, Set<String> includedEntries) voidMapProperty.reset(Object key, Object value, ValueSerializer<Object> keySer, ValueSerializer<Object> valueSer) Initialization method that needs to be called before passing property to filter.voidCollectionSerializer.serializeContentsUsing(Collection<?> value, JsonGenerator g, SerializationContext provider, ValueSerializer<Object> ser) voidIndexedListSerializer.serializeContentsUsing(List<?> value, JsonGenerator jgen, SerializationContext provider, ValueSerializer<Object> ser) voidObjectArraySerializer.serializeContentsUsing(Object[] value, JsonGenerator g, SerializationContext provider, ValueSerializer<Object> ser) voidMapSerializer.serializeEntriesUsing(Map<?, ?> value, JsonGenerator gen, SerializationContext provider, ValueSerializer<Object> ser) Method called to serialize fields, when the value type is statically known, so that value serializer is passed and does not need to be fetched from provider.protected ReferenceTypeSerializer<AtomicReference<?>>AtomicReferenceSerializer.withResolved(BeanProperty prop, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper) protected CollectionSerializerCollectionSerializer.withResolved(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) protected EnumSetSerializerEnumSetSerializer.withResolved(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) IndexedListSerializer.withResolved(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) IterableSerializer.withResolved(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) IteratorSerializer.withResolved(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) MapEntrySerializer.withResolved(BeanProperty property, ValueSerializer<?> keySerializer, ValueSerializer<?> valueSerializer, Object suppressableValue, boolean suppressNulls) protected MapSerializerMapSerializer.withResolved(BeanProperty property, ValueSerializer<?> keySerializer, ValueSerializer<?> valueSerializer, Set<String> ignored, Set<String> included, boolean sortKeys) ObjectArraySerializer.withResolved(BeanProperty prop, TypeSerializer vts, ValueSerializer<?> ser, Boolean unwrapSingle) Method parameters in tools.jackson.databind.ser.jdk with type arguments of type ValueSerializerModifier and TypeMethodDescriptionstatic voidNumberSerializers.addAll(Map<String, ValueSerializer<?>> allDeserializers) Constructors in tools.jackson.databind.ser.jdk with parameters of type ValueSerializerModifierConstructorDescriptionprotectedAtomicReferenceSerializer(AtomicReferenceSerializer base, BeanProperty property, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper, Object suppressableValue, boolean suppressNulls) AtomicReferenceSerializer(ReferenceType fullType, boolean staticTyping, TypeSerializer vts, ValueSerializer<Object> ser) CollectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, ValueSerializer<Object> valueSerializer) protectedCollectionSerializer(CollectionSerializer src, TypeSerializer vts, ValueSerializer<?> valueSerializer, Boolean unwrapSingle, BeanProperty property) EnumSetSerializer(EnumSetSerializer src, TypeSerializer vts, ValueSerializer<?> valueSerializer, Boolean unwrapSingle, BeanProperty property) IndexedListSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, ValueSerializer<Object> valueSerializer) IndexedListSerializer(IndexedListSerializer src, TypeSerializer vts, ValueSerializer<?> valueSerializer, Boolean unwrapSingle, BeanProperty property) IterableSerializer(IterableSerializer src, TypeSerializer vts, ValueSerializer<?> valueSerializer, Boolean unwrapSingle, BeanProperty property) IteratorSerializer(IteratorSerializer src, TypeSerializer vts, ValueSerializer<?> valueSerializer, Boolean unwrapSingle, BeanProperty property) protectedMapEntrySerializer(MapEntrySerializer src, BeanProperty property, TypeSerializer vts, ValueSerializer<?> keySer, ValueSerializer<?> valueSer, Object suppressableValue, boolean suppressNulls) protectedMapSerializer(Set<String> ignoredEntries, Set<String> includedEntries, JavaType keyType, JavaType valueType, boolean valueTypeIsStatic, TypeSerializer vts, ValueSerializer<?> keySerializer, ValueSerializer<?> valueSerializer) protectedMapSerializer(MapSerializer src, BeanProperty property, ValueSerializer<?> keySerializer, ValueSerializer<?> valueSerializer, Set<String> ignoredEntries, Set<String> includedEntries) ObjectArraySerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, ValueSerializer<Object> elementSerializer) ObjectArraySerializer(ObjectArraySerializer src, BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) StringArraySerializer(StringArraySerializer src, BeanProperty prop, ValueSerializer<?> ser, Boolean unwrapSingle) -
Uses of ValueSerializer in tools.jackson.databind.ser.std
Subclasses of ValueSerializer in tools.jackson.databind.ser.stdModifier 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.classThis is a simple dummy serializer that will just output literal JSON null value whenever serialization is requested.classBase implementation for values ofReferenceType.classIntermediate base class for serializers used for serializing types that contain element(s) of other types, such as arrays,Collections (Lists,Setsetc) andMaps and iterable things (Iterators).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.classBase class for standard serializers that are not (necessarily) container types but that similarly handle content that may vary in ways to require dynamic lookups.classclassBase class used by all standard serializers, and can also be used for custom serializers (in fact, this is the recommended base class to use).classSimple "bogus" serializer that will just serialize an empty Object for any given value.final classSimple general purpose serializer, useful for any type for whichObject.toString()returns the desired String serialization value.classIntermediate base class that serves as base for standardToStringSerializeras well as for custom subtypes that want to add processing for converting from value to output into itsStringrepresentation (whereas standard version simply calls value object'stoString()method).Fields in tools.jackson.databind.ser.std declared as ValueSerializerModifier and TypeFieldDescriptionprotected final ValueSerializer<Object>StdDelegatingSerializer._delegateSerializerUnderlying serializer for typeT.protected final ValueSerializer<Object>AsArraySerializerBase._elementSerializerValue serializer to use, if it can be statically determinedprotected final ValueSerializer<Object>StdDynamicSerializer._valueSerializerEagerly fetched serializer for actual value contained or referenced, if fetched.Methods in tools.jackson.databind.ser.std that return ValueSerializerModifier and TypeMethodDescriptionprotected ValueSerializer<Object>StdContainerSerializer._findAndAddDynamic(SerializationContext ctxt, Class<?> type) protected ValueSerializer<Object>StdContainerSerializer._findAndAddDynamic(SerializationContext ctxt, JavaType type) protected final ValueSerializer<Object>StdDynamicSerializer._findAndAddDynamic(SerializationContext ctxt, Class<?> type) protected final ValueSerializer<Object>StdDynamicSerializer._findAndAddDynamic(SerializationContext ctxt, Class<?> type, UnaryOperator<ValueSerializer<Object>> serTransformer) protected final ValueSerializer<Object>StdDynamicSerializer._findAndAddDynamic(SerializationContext ctxt, JavaType type) protected final ValueSerializer<Object>StdDynamicSerializer._findAndAddDynamic(SerializationContext ctxt, JavaType type, UnaryOperator<ValueSerializer<Object>> serTransformer) protected ValueSerializer<Object>StdDelegatingSerializer._findSerializer(Object value, SerializationContext ctxt) Helper method used for locating serializer to use in dynamic use case, where actual type value gets converted to is not specified beyond basicObject, and where serializer needs to be located dynamically based on actual value type.abstract ValueSerializer<?>ArraySerializerBase._withResolved(BeanProperty prop, Boolean unwrapSingle) ArraySerializerBase.createContextual(SerializationContext serializers, BeanProperty property) AsArraySerializerBase.createContextual(SerializationContext ctxt, BeanProperty property) This method is needed to resolve contextual annotations like per-property overrides, as well as do recursive call tocreateContextualof content serializer, if known statically.ReferenceTypeSerializer.createContextual(SerializationContext ctxt, BeanProperty property) StdDelegatingSerializer.createContextual(SerializationContext ctxt, BeanProperty property) protected ValueSerializer<?>StdSerializer.findAnnotatedContentSerializer(SerializationContext serializers, BeanProperty property) Convenience method for finding out possibly configured content value serializer.protected ValueSerializer<?>StdSerializer.findContextualConvertingSerializer(SerializationContext provider, BeanProperty prop, ValueSerializer<?> existingSerializer) Helper method that can be used to see if specified property has annotation indicating that a converter is to be used for contained values (contents of structured types; array/List/Map values)AsArraySerializerBase.getContentSerializer()abstract ValueSerializer<?>StdContainerSerializer.getContentSerializer()Accessor for serializer used for serializing contents (List and array elements, Map values etc) of the container for which this serializer is used, if it is known statically.StdDelegatingSerializer.getDelegatee()ReferenceTypeSerializer.unwrappingSerializer(NameTransformer transformer) Methods in tools.jackson.databind.ser.std with parameters of type ValueSerializerModifier and TypeMethodDescriptionprotected ValueSerializer<?>StdSerializer.findContextualConvertingSerializer(SerializationContext provider, BeanProperty prop, ValueSerializer<?> existingSerializer) Helper method that can be used to see if specified property has annotation indicating that a converter is to be used for contained values (contents of structured types; array/List/Map values)protected booleanStdSerializer.isDefaultSerializer(ValueSerializer<?> serializer) Method that can be called to determine if given serializer is the default serializer Jackson uses; as opposed to a custom serializer installed by a module or calling application.protected voidStdSerializer.visitArrayFormat(JsonFormatVisitorWrapper visitor, JavaType typeHint, ValueSerializer<?> itemSerializer, JavaType itemType) protected StdDelegatingSerializerStdDelegatingSerializer.withDelegate(Converter<Object, ?> converter, JavaType delegateType, ValueSerializer<?> delegateSerializer, BeanProperty prop) Method used for creating resolved contextual instances.protected abstract AsArraySerializerBase<T>AsArraySerializerBase.withResolved(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) protected abstract ReferenceTypeSerializer<T>ReferenceTypeSerializer.withResolved(BeanProperty prop, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper) Mutant factory method called when changes are needed; should construct newly configured instance with new values as indicated.Method parameters in tools.jackson.databind.ser.std with type arguments of type ValueSerializerModifier and TypeMethodDescriptionprotected final ValueSerializer<Object>StdDynamicSerializer._findAndAddDynamic(SerializationContext ctxt, Class<?> type, UnaryOperator<ValueSerializer<Object>> serTransformer) protected final ValueSerializer<Object>StdDynamicSerializer._findAndAddDynamic(SerializationContext ctxt, JavaType type, UnaryOperator<ValueSerializer<Object>> serTransformer) Constructors in tools.jackson.databind.ser.std with parameters of type ValueSerializerModifierConstructorDescriptionprotectedAsArraySerializerBase(Class<?> cls, JavaType elementType, boolean staticTyping, TypeSerializer vts, ValueSerializer<?> elementSerializer) Non-contextual, "blueprint" constructor typically called when the first instance is created, without knowledge of property it was used via.protectedAsArraySerializerBase(Class<?> cls, JavaType elementType, boolean staticTyping, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) General purpose constructor.protectedAsArraySerializerBase(Class<?> cls, JavaType elementType, boolean staticTyping, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle, BeanProperty property) General purpose constructor.protectedAsArraySerializerBase(AsArraySerializerBase<?> src, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle, BeanProperty property) protectedReferenceTypeSerializer(ReferenceTypeSerializer<?> base, BeanProperty property, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper, Object suppressableValue, boolean suppressNulls) ReferenceTypeSerializer(ReferenceType fullType, boolean staticTyping, TypeSerializer vts, ValueSerializer<Object> ser) StdDelegatingSerializer(Converter<Object, ?> converter, JavaType delegateType, ValueSerializer<?> delegateSerializer, BeanProperty prop) protectedStdDynamicSerializer(JavaType type, BeanProperty prop, TypeSerializer vts, ValueSerializer<?> valueSer) protectedStdDynamicSerializer(StdDynamicSerializer<?> src, BeanProperty prop, TypeSerializer vts, ValueSerializer<?> valueSer)
JsonFormat.Valueargument