Uses of Class
com.fasterxml.jackson.databind.cfg.MapperConfig
Packages that use MapperConfig
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 (
com.fasterxml.jackson.databind
).Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Contains helper class(es) needed to support some of JDK14+
features without requiring running or building using JDK 14.
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver
.Contains implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
Utility classes for Mapper package.
-
Uses of MapperConfig in com.fasterxml.jackson.databind
Subclasses of MapperConfig in com.fasterxml.jackson.databindModifier and TypeClassDescriptionfinal class
Object that contains baseline configuration for deserialization process.final class
Object that contains baseline configuration for serialization process.Methods in com.fasterxml.jackson.databind that return MapperConfigModifier and TypeMethodDescriptionabstract MapperConfig
<?> DatabindContext.getConfig()
Accessor to currently active configuration (both per-request configs and per-mapper config).Methods in com.fasterxml.jackson.databind with parameters of type MapperConfigModifier and TypeMethodDescriptionBeanProperty.Bogus.findAliases
(MapperConfig<?> config) BeanProperty.findAliases
(MapperConfig<?> config) Method for accessing set of possible alternate names that are accepted during deserialization.BeanProperty.Std.findAliases
(MapperConfig<?> config) void
AnnotationIntrospector.findAndAddVirtualProperties
(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties) Method for adding possible virtual properties to be serialized along with regular properties.com.fasterxml.jackson.annotation.JsonCreator.Mode
AnnotationIntrospector.findCreatorAnnotation
(MapperConfig<?> config, Annotated ann) Method called to check whether potential Creator (constructor or static factory method) has explicit annotation to indicate it as actual Creator; and if so, whichJsonCreator.Mode
to use.void
AnnotationIntrospector.findEnumAliases
(MapperConfig<?> config, AnnotatedClass annotatedClass, Enum<?>[] enumValues, String[][] aliases) Method that is called to check if there are alternative names (aliases) that can be accepted for entries in addition to primary names that were introspected earlier, related toAnnotationIntrospector.findEnumValues(java.lang.Class<?>, java.lang.Enum<?>[], java.lang.String[])
.AnnotationIntrospector.findEnumNamingStrategy
(MapperConfig<?> config, AnnotatedClass ac) Method for findingEnumNamingStrategy
for given class, if any specified by annotations; and if so, either return aEnumNamingStrategy
instance, or Class to use for creating instanceString[]
AnnotationIntrospector.findEnumValues
(MapperConfig<?> config, AnnotatedClass annotatedClass, Enum<?>[] enumValues, String[] names) Finds the explicitly defined name of the given set ofEnum
values, if any.AnnotationIntrospector.XmlExtensions.findNamespace
(MapperConfig<?> config, Annotated ann) Method that can be called to figure out generic namespace property for an annotated object.com.fasterxml.jackson.annotation.JsonTypeInfo.Value
AnnotationIntrospector.findPolymorphicTypeInfo
(MapperConfig<?> config, Annotated ann) Method for checking whether given Class or Property Accessor specifies polymorphic type-handling information, to indicate need for polymorphic handling.AnnotationIntrospector.findPropertyContentTypeResolver
(MapperConfig<?> config, AnnotatedMember am, JavaType containerType) Method for checking if given structured property entity (field or method that has nominal value of Map, Collection or array type) has annotations that indicate that specific type resolver is to be used for handling type information of contained values.com.fasterxml.jackson.annotation.JsonFormat.Value
BeanProperty.Bogus.findPropertyFormat
(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonFormat.Value
BeanProperty.findPropertyFormat
(MapperConfig<?> config, Class<?> baseType) Helper method used to look up format settings applicable to this property, considering both possible per-type configuration settingscom.fasterxml.jackson.annotation.JsonFormat.Value
BeanProperty.Std.findPropertyFormat
(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonIgnoreProperties.Value
AnnotationIntrospector.findPropertyIgnoralByName
(MapperConfig<?> config, Annotated ann) Method for finding information about properties to ignore either by name, or by more general specification ("ignore all unknown").com.fasterxml.jackson.annotation.JsonInclude.Value
BeanProperty.Bogus.findPropertyInclusion
(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonInclude.Value
BeanProperty.findPropertyInclusion
(MapperConfig<?> config, Class<?> baseType) Convenience method that is roughly equivalent tocom.fasterxml.jackson.annotation.JsonInclude.Value
BeanProperty.Std.findPropertyInclusion
(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonIncludeProperties.Value
AnnotationIntrospector.findPropertyInclusionByName
(MapperConfig<?> config, Annotated ann) Method for finding information about names of properties to included.AnnotationIntrospector.findPropertyTypeResolver
(MapperConfig<?> config, AnnotatedMember am, JavaType baseType) Method for checking if given property entity (field or method) has annotations that indicate that specific type resolver is to be used for handling instances.AnnotationIntrospector.findRenameByField
(MapperConfig<?> config, AnnotatedField f, PropertyName implName) Method called on fields that are eligible candidates for properties (that is, non-static member fields), but not necessarily selected (may or may not be visible), to let fields affect name linking.AnnotationIntrospector.findTypeResolver
(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType) Method for checking if given class has annotations that indicate that specific type resolver is to be used for handling instances.AnnotationIntrospector.hasAsKey
(MapperConfig<?> config, Annotated a) Method for checking whether given method has an annotation that suggests the return value of annotated field or method should be used as "the key" of the object instance; usually serialized as a primitive value such as String or number.AnnotationIntrospector.XmlExtensions.isOutputAsAttribute
(MapperConfig<?> config, Annotated ann) Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it be output as an XML attribute or not (if not, then as element)AnnotationIntrospector.XmlExtensions.isOutputAsCData
(MapperConfig<?> config, Annotated ann) Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be wrapped in a CDATA tag.AnnotationIntrospector.XmlExtensions.isOutputAsText
(MapperConfig<?> config, Annotated ann) Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be serialized as text, without element wrapper.PropertyNamingStrategies.NamingBase.nameForConstructorParameter
(MapperConfig<?> config, AnnotatedParameter ctorParam, String defaultName) PropertyNamingStrategy.nameForConstructorParameter
(MapperConfig<?> config, AnnotatedParameter ctorParam, String defaultName) Method called to find external name (name used in JSON) for given logical POJO property, as defined by given constructor parameter; typically called when building a deserializer (but not necessarily only then).PropertyNamingStrategy.PropertyNamingStrategyBase.nameForConstructorParameter
(MapperConfig<?> config, AnnotatedParameter ctorParam, String defaultName) Deprecated.PropertyNamingStrategies.NamingBase.nameForField
(MapperConfig<?> config, AnnotatedField field, String defaultName) PropertyNamingStrategy.nameForField
(MapperConfig<?> config, AnnotatedField field, String defaultName) Method called to find external name (name used in JSON) for given logical POJO property, as defined by given field.PropertyNamingStrategy.PropertyNamingStrategyBase.nameForField
(MapperConfig<?> config, AnnotatedField field, String defaultName) Deprecated.PropertyNamingStrategies.NamingBase.nameForGetterMethod
(MapperConfig<?> config, AnnotatedMethod method, String defaultName) PropertyNamingStrategy.nameForGetterMethod
(MapperConfig<?> config, AnnotatedMethod method, String defaultName) Method called to find external name (name used in JSON) for given logical POJO property, as defined by given getter method; typically called when building a serializer.PropertyNamingStrategy.PropertyNamingStrategyBase.nameForGetterMethod
(MapperConfig<?> config, AnnotatedMethod method, String defaultName) Deprecated.PropertyNamingStrategies.NamingBase.nameForSetterMethod
(MapperConfig<?> config, AnnotatedMethod method, String defaultName) PropertyNamingStrategy.nameForSetterMethod
(MapperConfig<?> config, AnnotatedMethod method, String defaultName) Method called to find external name (name used in JSON) for given logical POJO property, as defined by given setter method; typically called when building a deserializer (but not necessarily only then).PropertyNamingStrategy.PropertyNamingStrategyBase.nameForSetterMethod
(MapperConfig<?> config, AnnotatedMethod method, String defaultName) Deprecated.AnnotationIntrospector.refineDeserializationType
(MapperConfig<?> config, Annotated a, JavaType baseType) Method called to find out possible type refinements to use for deserialization.AnnotationIntrospector.refineSerializationType
(MapperConfig<?> config, Annotated a, JavaType baseType) Method called to find out possible type refinements to use for deserialization, including not just value itself but key and/or content type, if type has those.AnnotationIntrospector.resolveSetterConflict
(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2) Method called in cases where a class has two methods eligible to be used for the same logical property, and default logic is not enough to figure out clear precedence.com.fasterxml.jackson.core.SerializableString
PropertyName.simpleAsEncoded
(MapperConfig<?> config) Accessor that may be used to get lazily-constructed efficient representation of the simple name.ObjectMapper.DefaultTypeResolverBuilder.subTypeValidator
(MapperConfig<?> config) -
Uses of MapperConfig in com.fasterxml.jackson.databind.cfg
Classes in com.fasterxml.jackson.databind.cfg with type parameters of type MapperConfigModifier and TypeClassDescriptionclass
MapperConfig<T extends MapperConfig<T>>
Interface that defines functionality accessible through both serialization and deserialization configuration objects; accessors to mode-independent configuration settings and such.Subclasses of MapperConfig in com.fasterxml.jackson.databind.cfgModifier and TypeClassDescriptionclass
MapperConfigBase<CFG extends ConfigFeature,
T extends MapperConfigBase<CFG, T>> Methods in com.fasterxml.jackson.databind.cfg with parameters of type MapperConfigModifier and TypeMethodDescriptionConverter
<?, ?> HandlerInstantiator.converterInstance
(MapperConfig<?> config, Annotated annotated, Class<?> implClass) Method called to construct a Converter instance used for specified class.HandlerInstantiator.namingStrategyInstance
(MapperConfig<?> config, Annotated annotated, Class<?> implClass) Method called to construct a NamingStrategy instance used for specified class.com.fasterxml.jackson.annotation.ObjectIdGenerator
<?> HandlerInstantiator.objectIdGeneratorInstance
(MapperConfig<?> config, Annotated annotated, Class<?> implClass) Method called to construct a ObjectIdHandler instance of specified type.com.fasterxml.jackson.annotation.ObjectIdResolver
HandlerInstantiator.resolverIdGeneratorInstance
(MapperConfig<?> config, Annotated annotated, Class<?> implClass) abstract TypeIdResolver
HandlerInstantiator.typeIdResolverInstance
(MapperConfig<?> config, Annotated annotated, Class<?> resolverClass) Method called to get an instance of TypeIdResolver of specified type.abstract TypeResolverBuilder
<?> HandlerInstantiator.typeResolverBuilderInstance
(MapperConfig<?> config, Annotated annotated, Class<?> builderClass) Method called to get an instance of TypeResolverBuilder of specified type.HandlerInstantiator.valueInstantiatorInstance
(MapperConfig<?> config, Annotated annotated, Class<?> resolverClass) Method called to construct an instance of ValueInstantiator of specified type.HandlerInstantiator.virtualPropertyWriterInstance
(MapperConfig<?> config, Class<?> implClass) Method called to construct aVirtualBeanPropertyWriter
instance of specified type.Constructors in com.fasterxml.jackson.databind.cfg with parameters of type MapperConfigModifierConstructorDescriptionprotected
MapperConfig
(MapperConfig<T> src) protected
MapperConfig
(MapperConfig<T> src, long mapperFeatures) protected
MapperConfig
(MapperConfig<T> src, BaseSettings base) -
Uses of MapperConfig in com.fasterxml.jackson.databind.deser.impl
Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type MapperConfigModifier and TypeMethodDescriptionstatic BeanPropertyMap
BeanPropertyMap.construct
(MapperConfig<?> config, Collection<SettableBeanProperty> props, Map<String, List<PropertyName>> aliasMapping) Deprecated.since 2.12static BeanPropertyMap
BeanPropertyMap.construct
(MapperConfig<?> config, Collection<SettableBeanProperty> props, Map<String, List<PropertyName>> aliasMapping, boolean caseInsensitive) Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type MapperConfig -
Uses of MapperConfig in com.fasterxml.jackson.databind.introspect
Fields in com.fasterxml.jackson.databind.introspect declared as MapperConfigModifier and TypeFieldDescriptionprotected final MapperConfig
<?> BasicBeanDescription._config
protected final MapperConfig
<?> DefaultAccessorNamingStrategy._config
protected final MapperConfig
<?> POJOPropertiesCollector._config
Configuration settingsprotected final MapperConfig
<?> POJOPropertyBuilder._config
Methods in com.fasterxml.jackson.databind.introspect that return MapperConfigMethods in com.fasterxml.jackson.databind.introspect with parameters of type MapperConfigModifier and TypeMethodDescriptionprotected TypeResolverBuilder
<?> JacksonAnnotationIntrospector._constructStdTypeResolverBuilder
(MapperConfig<?> config, com.fasterxml.jackson.annotation.JsonTypeInfo.Value typeInfo, JavaType baseType) Helper method for constructing standardTypeResolverBuilder
implementation.protected BeanPropertyWriter
JacksonAnnotationIntrospector._constructVirtualProperty
(JsonAppend.Attr attr, MapperConfig<?> config, AnnotatedClass ac, JavaType type) protected BeanPropertyWriter
JacksonAnnotationIntrospector._constructVirtualProperty
(JsonAppend.Prop prop, MapperConfig<?> config, AnnotatedClass ac) protected BasicBeanDescription
BasicClassIntrospector._findStdJdkCollectionDesc
(MapperConfig<?> cfg, JavaType type) protected BasicBeanDescription
BasicClassIntrospector._findStdTypeDesc
(MapperConfig<?> config, JavaType type) Method called to see if type is one of core JDK types that we have cached for efficiency.protected TypeResolverBuilder
<?> JacksonAnnotationIntrospector._findTypeResolver
(MapperConfig<?> config, Annotated ann, JavaType baseType) Helper method called to construct and initialize instance ofTypeResolverBuilder
if given annotated element indicates one is needed.protected AnnotatedClass
BasicClassIntrospector._resolveAnnotatedClass
(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r) protected AnnotatedClass
BasicClassIntrospector._resolveAnnotatedWithoutSuperTypes
(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r) protected POJOPropertiesCollector
BasicClassIntrospector.collectProperties
(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, boolean forSerialization) protected POJOPropertiesCollector
BasicClassIntrospector.collectProperties
(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, boolean forSerialization, String mutatorPrefix) Deprecated.protected POJOPropertiesCollector
BasicClassIntrospector.collectPropertiesWithBuilder
(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, boolean forSerialization) Deprecated.protected POJOPropertiesCollector
BasicClassIntrospector.collectPropertiesWithBuilder
(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, BeanDescription valueTypeDesc, boolean forSerialization) static AnnotatedClass
AnnotatedClass.construct
(JavaType type, MapperConfig<?> config) Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead.static AnnotatedClass
AnnotatedClass.construct
(JavaType type, MapperConfig<?> config, ClassIntrospector.MixInResolver mir) Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead.protected POJOPropertiesCollector
BasicClassIntrospector.constructPropertyCollector
(MapperConfig<?> config, AnnotatedClass classDef, JavaType type, boolean forSerialization, AccessorNamingStrategy accNaming) Overridable method called for creatingPOJOPropertiesCollector
instance to use; override is needed if a custom sub-class is to be used.protected POJOPropertiesCollector
BasicClassIntrospector.constructPropertyCollector
(MapperConfig<?> config, AnnotatedClass ac, JavaType type, boolean forSerialization, String mutatorPrefix) Deprecated.static AnnotatedClass
AnnotatedClass.constructWithoutSuperTypes
(Class<?> raw, MapperConfig<?> config) Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead.static AnnotatedClass
AnnotatedClass.constructWithoutSuperTypes
(Class<?> raw, MapperConfig<?> config, ClassIntrospector.MixInResolver mir) Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead.ConcreteBeanPropertyBase.findAliases
(MapperConfig<?> config) void
AnnotationIntrospectorPair.findAndAddVirtualProperties
(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties) void
JacksonAnnotationIntrospector.findAndAddVirtualProperties
(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties) com.fasterxml.jackson.annotation.JsonCreator.Mode
AnnotationIntrospectorPair.findCreatorAnnotation
(MapperConfig<?> config, Annotated a) com.fasterxml.jackson.annotation.JsonCreator.Mode
JacksonAnnotationIntrospector.findCreatorAnnotation
(MapperConfig<?> config, Annotated a) void
AnnotationIntrospectorPair.findEnumAliases
(MapperConfig<?> config, AnnotatedClass annotatedClass, Enum<?>[] enumConstants, String[][] aliases) void
JacksonAnnotationIntrospector.findEnumAliases
(MapperConfig<?> config, AnnotatedClass annotatedClass, Enum<?>[] enumValues, String[][] aliasList) AnnotationIntrospectorPair.findEnumNamingStrategy
(MapperConfig<?> config, AnnotatedClass ac) JacksonAnnotationIntrospector.findEnumNamingStrategy
(MapperConfig<?> config, AnnotatedClass ac) String[]
AnnotationIntrospectorPair.findEnumValues
(MapperConfig<?> config, AnnotatedClass annotatedClass, Enum<?>[] enumValues, String[] names) String[]
JacksonAnnotationIntrospector.findEnumValues
(MapperConfig<?> config, AnnotatedClass annotatedClass, Enum<?>[] enumValues, String[] names) com.fasterxml.jackson.annotation.JsonTypeInfo.Value
AnnotationIntrospectorPair.findPolymorphicTypeInfo
(MapperConfig<?> config, Annotated ann) com.fasterxml.jackson.annotation.JsonTypeInfo.Value
JacksonAnnotationIntrospector.findPolymorphicTypeInfo
(MapperConfig<?> config, Annotated ann) AnnotationIntrospectorPair.findPropertyContentTypeResolver
(MapperConfig<?> config, AnnotatedMember am, JavaType baseType) JacksonAnnotationIntrospector.findPropertyContentTypeResolver
(MapperConfig<?> config, AnnotatedMember am, JavaType containerType) com.fasterxml.jackson.annotation.JsonFormat.Value
ConcreteBeanPropertyBase.findPropertyFormat
(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonIgnoreProperties.Value
AnnotationIntrospectorPair.findPropertyIgnoralByName
(MapperConfig<?> config, Annotated ann) com.fasterxml.jackson.annotation.JsonIgnoreProperties.Value
JacksonAnnotationIntrospector.findPropertyIgnoralByName
(MapperConfig<?> config, Annotated a) com.fasterxml.jackson.annotation.JsonInclude.Value
ConcreteBeanPropertyBase.findPropertyInclusion
(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonIncludeProperties.Value
AnnotationIntrospectorPair.findPropertyInclusionByName
(MapperConfig<?> config, Annotated a) com.fasterxml.jackson.annotation.JsonIncludeProperties.Value
JacksonAnnotationIntrospector.findPropertyInclusionByName
(MapperConfig<?> config, Annotated a) AnnotationIntrospectorPair.findPropertyTypeResolver
(MapperConfig<?> config, AnnotatedMember am, JavaType baseType) JacksonAnnotationIntrospector.findPropertyTypeResolver
(MapperConfig<?> config, AnnotatedMember am, JavaType baseType) AnnotationIntrospectorPair.findRenameByField
(MapperConfig<?> config, AnnotatedField f, PropertyName implName) JacksonAnnotationIntrospector.findRenameByField
(MapperConfig<?> config, AnnotatedField f, PropertyName implName) AnnotationIntrospectorPair.findTypeResolver
(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType) JacksonAnnotationIntrospector.findTypeResolver
(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType) abstract AccessorNamingStrategy
AccessorNamingStrategy.Provider.forBuilder
(MapperConfig<?> config, AnnotatedClass builderClass, BeanDescription valueTypeDesc) Factory method for creating strategy instance for POJOs that are deserialized using Builder type: in this case eventual target (value) type is different from type of "builder" object that is used by databinding to accumulate state.DefaultAccessorNamingStrategy.Provider.forBuilder
(MapperConfig<?> config, AnnotatedClass builderClass, BeanDescription valueTypeDesc) BasicClassIntrospector.forClassAnnotations
(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r) abstract BeanDescription
ClassIntrospector.forClassAnnotations
(MapperConfig<?> cfg, JavaType type, ClassIntrospector.MixInResolver r) Factory method that constructs an introspector that only has information regarding annotations class itself (or its supertypes) has, but nothing on methods or constructors.BasicClassIntrospector.forDirectClassAnnotations
(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r) abstract BeanDescription
ClassIntrospector.forDirectClassAnnotations
(MapperConfig<?> cfg, JavaType type, ClassIntrospector.MixInResolver r) Factory method that constructs an introspector that only has information regarding annotations class itself has (but NOT including its supertypes), but nothing on methods or constructors.static BasicBeanDescription
BasicBeanDescription.forOtherUse
(MapperConfig<?> config, JavaType type, AnnotatedClass ac) Factory method to use for constructing an instance to use for purposes other than building serializers or deserializers; will only have information on class, not on properties.abstract AccessorNamingStrategy
AccessorNamingStrategy.Provider.forPOJO
(MapperConfig<?> config, AnnotatedClass valueClass) Factory method for creating strategy instance for a "regular" POJO, called if none of the other factory methods is applicable.DefaultAccessorNamingStrategy.Provider.forPOJO
(MapperConfig<?> config, AnnotatedClass targetClass) abstract AccessorNamingStrategy
AccessorNamingStrategy.Provider.forRecord
(MapperConfig<?> config, AnnotatedClass recordClass) Factory method for creating strategy instance for specialjava.lang.Record
type (new in JDK 14).DefaultAccessorNamingStrategy.Provider.forRecord
(MapperConfig<?> config, AnnotatedClass recordClass) AnnotationIntrospectorPair.hasAsKey
(MapperConfig<?> config, Annotated a) JacksonAnnotationIntrospector.hasAsKey
(MapperConfig<?> config, Annotated a) AnnotationIntrospectorPair.refineDeserializationType
(MapperConfig<?> config, Annotated a, JavaType baseType) JacksonAnnotationIntrospector.refineDeserializationType
(MapperConfig<?> config, Annotated a, JavaType baseType) AnnotationIntrospectorPair.refineSerializationType
(MapperConfig<?> config, Annotated a, JavaType baseType) JacksonAnnotationIntrospector.refineSerializationType
(MapperConfig<?> config, Annotated a, JavaType baseType) static AnnotatedClass
AnnotatedClassResolver.resolve
(MapperConfig<?> config, JavaType forType, ClassIntrospector.MixInResolver r) AnnotationIntrospectorPair.resolveSetterConflict
(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2) JacksonAnnotationIntrospector.resolveSetterConflict
(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2) Specific implementation that will use following tie-breaker on given setter parameter types: If either one is primitive type then either returnnull
(both primitives) or one that is primitive (when only primitive) If only one is of typeString
, return that setter Otherwise returnnull
Returningnull
will indicate that resolution could not be done.static AnnotatedClass
AnnotatedClassResolver.resolveWithoutSuperTypes
(MapperConfig<?> config, JavaType forType, ClassIntrospector.MixInResolver r) static AnnotatedClass
AnnotatedClassResolver.resolveWithoutSuperTypes
(MapperConfig<?> config, Class<?> forType) static AnnotatedClass
AnnotatedClassResolver.resolveWithoutSuperTypes
(MapperConfig<?> config, Class<?> forType, ClassIntrospector.MixInResolver r) Constructors in com.fasterxml.jackson.databind.introspect with parameters of type MapperConfigModifierConstructorDescriptionprotected
BasicBeanDescription
(MapperConfig<?> config, JavaType type, AnnotatedClass classDef, List<BeanPropertyDefinition> props) Alternate constructor used in cases where property information is not needed, only class info.protected
DefaultAccessorNamingStrategy
(MapperConfig<?> config, AnnotatedClass forClass, String mutatorPrefix, String getterPrefix, String isGetterPrefix, DefaultAccessorNamingStrategy.BaseNameValidator baseNameValidator) protected
POJOPropertiesCollector
(MapperConfig<?> config, boolean forSerialization, JavaType type, AnnotatedClass classDef, AccessorNamingStrategy accessorNaming) protected
POJOPropertiesCollector
(MapperConfig<?> config, boolean forSerialization, JavaType type, AnnotatedClass classDef, String mutatorPrefix) Deprecated.Since 2.12POJOPropertyBuilder
(MapperConfig<?> config, AnnotationIntrospector ai, boolean forSerialization, PropertyName internalName) protected
POJOPropertyBuilder
(MapperConfig<?> config, AnnotationIntrospector ai, boolean forSerialization, PropertyName internalName, PropertyName name) RecordNaming
(MapperConfig<?> config, AnnotatedClass forClass) -
Uses of MapperConfig in com.fasterxml.jackson.databind.jdk14
Methods in com.fasterxml.jackson.databind.jdk14 with parameters of type MapperConfigModifier and TypeMethodDescriptionstatic AnnotatedConstructor
JDK14Util.findRecordConstructor
(AnnotatedClass recordClass, AnnotationIntrospector intr, MapperConfig<?> config, List<String> names) -
Uses of MapperConfig in com.fasterxml.jackson.databind.jsontype
Methods in com.fasterxml.jackson.databind.jsontype with parameters of type MapperConfigModifier and TypeMethodDescriptionSubtypeResolver.collectAndResolveSubtypes
(AnnotatedClass baseType, MapperConfig<?> config, AnnotationIntrospector ai) Deprecated.SubtypeResolver.collectAndResolveSubtypes
(AnnotatedMember property, MapperConfig<?> config, AnnotationIntrospector ai, JavaType baseType) Deprecated.SubtypeResolver.collectAndResolveSubtypesByClass
(MapperConfig<?> config, AnnotatedClass baseType) Method for finding out all reachable subtypes for given type, such that access is by type, typically needed for serialization (converting from type to type name).SubtypeResolver.collectAndResolveSubtypesByClass
(MapperConfig<?> config, AnnotatedMember property, JavaType baseType) Method for finding out all reachable subtypes for a property specified by given element (method or field), such that access is by type, typically needed for serialization (converting from type to type name).SubtypeResolver.collectAndResolveSubtypesByTypeId
(MapperConfig<?> config, AnnotatedClass baseType) Method for finding out all reachable subtypes for given type, such that access is by type id, typically needed for deserialization (converting from type id to type).SubtypeResolver.collectAndResolveSubtypesByTypeId
(MapperConfig<?> config, AnnotatedMember property, JavaType baseType) Method for finding out all reachable subtypes for a property specified by given element (method or field), such that access is by type id, typically needed for deserialization (converting from type id to type).protected boolean
DefaultBaseTypeLimitingValidator.isSafeSubType
(MapperConfig<?> config, JavaType baseType, JavaType subType) Helper called to determine whether given actual subtype is considered safe to process: this will only be called if subtype was considered acceptable earlier.protected boolean
DefaultBaseTypeLimitingValidator.isUnsafeBaseType
(MapperConfig<?> config, JavaType baseType) Helper method called to determine if the given base type is known to be problematic regarding possible "gadget types".abstract boolean
BasicPolymorphicTypeValidator.NameMatcher.match
(MapperConfig<?> config, String clazzName) abstract boolean
BasicPolymorphicTypeValidator.TypeMatcher.match
(MapperConfig<?> config, Class<?> clazz) BasicPolymorphicTypeValidator.validateBaseType
(MapperConfig<?> ctxt, JavaType baseType) DefaultBaseTypeLimitingValidator.validateBaseType
(MapperConfig<?> config, JavaType baseType) PolymorphicTypeValidator.Base.validateBaseType
(MapperConfig<?> config, JavaType baseType) abstract PolymorphicTypeValidator.Validity
PolymorphicTypeValidator.validateBaseType
(MapperConfig<?> config, JavaType baseType) Method called when a property with polymorphic value is encountered, and aTypeResolverBuilder
is needed.BasicPolymorphicTypeValidator.validateSubClassName
(MapperConfig<?> ctxt, JavaType baseType, String subClassName) DefaultBaseTypeLimitingValidator.validateSubClassName
(MapperConfig<?> config, JavaType baseType, String subClassName) PolymorphicTypeValidator.Base.validateSubClassName
(MapperConfig<?> config, JavaType baseType, String subClassName) abstract PolymorphicTypeValidator.Validity
PolymorphicTypeValidator.validateSubClassName
(MapperConfig<?> config, JavaType baseType, String subClassName) BasicPolymorphicTypeValidator.validateSubType
(MapperConfig<?> ctxt, JavaType baseType, JavaType subType) DefaultBaseTypeLimitingValidator.validateSubType
(MapperConfig<?> config, JavaType baseType, JavaType subType) PolymorphicTypeValidator.Base.validateSubType
(MapperConfig<?> config, JavaType baseType, JavaType subType) abstract PolymorphicTypeValidator.Validity
PolymorphicTypeValidator.validateSubType
(MapperConfig<?> config, JavaType baseType, JavaType subType) Method called after class name has been resolved to actual type, in cases where previous call toPolymorphicTypeValidator.validateSubClassName(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.JavaType, java.lang.String)
returnedPolymorphicTypeValidator.Validity.INDETERMINATE
. -
Uses of MapperConfig in com.fasterxml.jackson.databind.jsontype.impl
Fields in com.fasterxml.jackson.databind.jsontype.impl declared as MapperConfigModifier and TypeFieldDescriptionprotected final MapperConfig
<?> SimpleNameIdResolver._config
protected final MapperConfig
<?> TypeNameIdResolver._config
Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type MapperConfigModifier and TypeMethodDescriptionprotected void
StdSubtypeResolver._collectAndResolve
(AnnotatedClass annotatedType, NamedType namedType, MapperConfig<?> config, AnnotationIntrospector ai, HashMap<NamedType, NamedType> collectedSubtypes) Method called to find subtypes for a specific type (class), using type (class) as the unique key (in case of conflicts).protected void
StdSubtypeResolver._collectAndResolveByTypeId
(AnnotatedClass annotatedType, NamedType namedType, MapperConfig<?> config, Set<Class<?>> typesHandled, Map<String, NamedType> byName) Method called to find subtypes for a specific type (class), using type id as the unique key (in case of conflicts).protected boolean
StdTypeResolverBuilder.allowPrimitiveTypes
(MapperConfig<?> config, JavaType baseType) Overridable helper method that is called to determine whether type serializers and type deserializers may be created even if base type is Javaprimitive
type.StdSubtypeResolver.collectAndResolveSubtypesByClass
(MapperConfig<?> config, AnnotatedClass type) StdSubtypeResolver.collectAndResolveSubtypesByClass
(MapperConfig<?> config, AnnotatedMember property, JavaType baseType) StdSubtypeResolver.collectAndResolveSubtypesByTypeId
(MapperConfig<?> config, AnnotatedClass baseType) StdSubtypeResolver.collectAndResolveSubtypesByTypeId
(MapperConfig<?> config, AnnotatedMember property, JavaType baseType) static ClassNameIdResolver
ClassNameIdResolver.construct
(JavaType baseType, MapperConfig<?> config, PolymorphicTypeValidator ptv) static MinimalClassNameIdResolver
MinimalClassNameIdResolver.construct
(JavaType baseType, MapperConfig<?> config, PolymorphicTypeValidator ptv) static SimpleNameIdResolver
SimpleNameIdResolver.construct
(MapperConfig<?> config, JavaType baseType, Collection<NamedType> subtypes, boolean forSer, boolean forDeser) static TypeNameIdResolver
TypeNameIdResolver.construct
(MapperConfig<?> config, JavaType baseType, Collection<NamedType> subtypes, boolean forSer, boolean forDeser) protected TypeIdResolver
StdTypeResolverBuilder.idResolver
(MapperConfig<?> config, JavaType baseType, PolymorphicTypeValidator subtypeValidator, Collection<NamedType> subtypes, boolean forSer, boolean forDeser) Helper method that will either return configured custom type id resolver, or construct a standard resolver given configuration.protected PolymorphicTypeValidator
StdTypeResolverBuilder.reportInvalidBaseType
(MapperConfig<?> config, JavaType baseType, PolymorphicTypeValidator ptv) StdTypeResolverBuilder.subTypeValidator
(MapperConfig<?> config) Overridable helper method for determining actual validator to use when constructing type serializers and type deserializers.LaissezFaireSubTypeValidator.validateBaseType
(MapperConfig<?> ctxt, JavaType baseType) LaissezFaireSubTypeValidator.validateSubClassName
(MapperConfig<?> ctxt, JavaType baseType, String subClassName) LaissezFaireSubTypeValidator.validateSubType
(MapperConfig<?> ctxt, JavaType baseType, JavaType subType) protected PolymorphicTypeValidator
StdTypeResolverBuilder.verifyBaseTypeValidity
(MapperConfig<?> config, JavaType baseType) Helper method called to check that base type is valid regarding possible constraints on basetype/subtype combinations allowed for polymorphic type handling.Constructors in com.fasterxml.jackson.databind.jsontype.impl with parameters of type MapperConfigModifierConstructorDescriptionprotected
SimpleNameIdResolver
(MapperConfig<?> config, JavaType baseType, ConcurrentHashMap<String, String> typeToId, HashMap<String, JavaType> idToType) protected
TypeNameIdResolver
(MapperConfig<?> config, JavaType baseType, ConcurrentHashMap<String, String> typeToId, HashMap<String, JavaType> idToType) -
Uses of MapperConfig in com.fasterxml.jackson.databind.ser
Methods in com.fasterxml.jackson.databind.ser with parameters of type MapperConfigModifier and TypeMethodDescriptionabstract VirtualBeanPropertyWriter
VirtualBeanPropertyWriter.withConfig
(MapperConfig<?> config, AnnotatedClass declaringClass, BeanPropertyDefinition propDef, JavaType type) Contextualization method called on a newly constructed virtual bean property. -
Uses of MapperConfig in com.fasterxml.jackson.databind.ser.impl
Methods in com.fasterxml.jackson.databind.ser.impl with parameters of type MapperConfigModifier and TypeMethodDescriptionAttributePropertyWriter.withConfig
(MapperConfig<?> config, AnnotatedClass declaringClass, BeanPropertyDefinition propDef, JavaType type) Since this method should typically not be called on this sub-type, default implementation simply throws anIllegalStateException
. -
Uses of MapperConfig in com.fasterxml.jackson.databind.util
Methods in com.fasterxml.jackson.databind.util with parameters of type MapperConfigModifier and TypeMethodDescriptionstatic EnumValues
static SimpleBeanPropertyDefinition
SimpleBeanPropertyDefinition.construct
(MapperConfig<?> config, AnnotatedMember member) static SimpleBeanPropertyDefinition
SimpleBeanPropertyDefinition.construct
(MapperConfig<?> config, AnnotatedMember member, PropertyName name) static SimpleBeanPropertyDefinition
SimpleBeanPropertyDefinition.construct
(MapperConfig<?> config, AnnotatedMember member, PropertyName name, PropertyMetadata metadata, com.fasterxml.jackson.annotation.JsonInclude.Include inclusion) Method called to create instance for virtual properties.static SimpleBeanPropertyDefinition
SimpleBeanPropertyDefinition.construct
(MapperConfig<?> config, AnnotatedMember member, PropertyName name, PropertyMetadata metadata, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion) static EnumValues
EnumValues.constructFromName
(MapperConfig<?> config, AnnotatedClass annotatedClass) static EnumValues
EnumValues.constructFromName
(MapperConfig<?> config, Class<Enum<?>> enumClass) Deprecated.Since 2.16, useEnumValues.constructFromName(MapperConfig, AnnotatedClass)
instead.static EnumValues
EnumValues.constructFromToString
(MapperConfig<?> config, AnnotatedClass annotatedClass) static EnumValues
EnumValues.constructFromToString
(MapperConfig<?> config, Class<Enum<?>> enumClass) Deprecated.since 2.16; useEnumValues.constructFromToString(MapperConfig, AnnotatedClass)
insteadstatic EnumValues
EnumValues.constructUsingEnumNamingStrategy
(MapperConfig<?> config, AnnotatedClass annotatedClass, EnumNamingStrategy namingStrategy) Returns String serializations of Enum name using an instance ofEnumNamingStrategy
.static EnumValues
EnumValues.constructUsingEnumNamingStrategy
(MapperConfig<?> config, Class<Enum<?>> enumClass, EnumNamingStrategy namingStrategy) Deprecated.Since 2.16; useEnumValues.constructUsingEnumNamingStrategy(MapperConfig, AnnotatedClass, EnumNamingStrategy)
instead.RootNameLookup.findRootName
(JavaType rootType, MapperConfig<?> config) RootNameLookup.findRootName
(Class<?> rootType, MapperConfig<?> config)