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 classObject that contains baseline configuration for deserialization process.final classObject 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) voidAnnotationIntrospector.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.ModeAnnotationIntrospector.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.Modeto use.voidAnnotationIntrospector.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(Class, Enum[], String[]).AnnotationIntrospector.findEnumNamingStrategy(MapperConfig<?> config, AnnotatedClass ac) Method for findingEnumNamingStrategyfor given class, if any specified by annotations; and if so, either return aEnumNamingStrategyinstance, 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 ofEnumvalues, 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.ValueAnnotationIntrospector.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.ValueBeanProperty.Bogus.findPropertyFormat(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonFormat.ValueBeanProperty.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.ValueBeanProperty.Std.findPropertyFormat(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonIgnoreProperties.ValueAnnotationIntrospector.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.ValueBeanProperty.Bogus.findPropertyInclusion(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonInclude.ValueBeanProperty.findPropertyInclusion(MapperConfig<?> config, Class<?> baseType) Convenience method that is roughly equivalent tocom.fasterxml.jackson.annotation.JsonInclude.ValueBeanProperty.Std.findPropertyInclusion(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonIncludeProperties.ValueAnnotationIntrospector.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.SerializableStringPropertyName.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 TypeClassDescriptionclassMapperConfig<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 TypeClassDescriptionclassMapperConfigBase<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.ObjectIdResolverHandlerInstantiator.resolverIdGeneratorInstance(MapperConfig<?> config, Annotated annotated, Class<?> implClass) abstract TypeIdResolverHandlerInstantiator.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 aVirtualBeanPropertyWriterinstance of specified type.Constructors in com.fasterxml.jackson.databind.cfg with parameters of type MapperConfigModifierConstructorDescriptionprotectedMapperConfig(MapperConfig<T> src) protectedMapperConfig(MapperConfig<T> src, long mapperFeatures) protectedMapperConfig(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 BeanPropertyMapBeanPropertyMap.construct(MapperConfig<?> config, Collection<SettableBeanProperty> props, Map<String, List<PropertyName>> aliasMapping) Deprecated.since 2.12static BeanPropertyMapBeanPropertyMap.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._configprotected final MapperConfig<?> DefaultAccessorNamingStrategy._configprotected final MapperConfig<?> POJOPropertiesCollector._configConfiguration settingsprotected final MapperConfig<?> POJOPropertyBuilder._configMethods 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 standardTypeResolverBuilderimplementation.protected BeanPropertyWriterJacksonAnnotationIntrospector._constructVirtualProperty(JsonAppend.Attr attr, MapperConfig<?> config, AnnotatedClass ac, JavaType type) protected BeanPropertyWriterJacksonAnnotationIntrospector._constructVirtualProperty(JsonAppend.Prop prop, MapperConfig<?> config, AnnotatedClass ac) protected BasicBeanDescriptionBasicClassIntrospector._findStdJdkCollectionDesc(MapperConfig<?> cfg, JavaType type) protected BasicBeanDescriptionBasicClassIntrospector._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 ofTypeResolverBuilderif given annotated element indicates one is needed.protected AnnotatedClassBasicClassIntrospector._resolveAnnotatedClass(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r) protected AnnotatedClassBasicClassIntrospector._resolveAnnotatedWithoutSuperTypes(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r) protected POJOPropertiesCollectorBasicClassIntrospector.collectProperties(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, boolean forSerialization) protected POJOPropertiesCollectorBasicClassIntrospector.collectProperties(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, boolean forSerialization, String mutatorPrefix) Deprecated.protected POJOPropertiesCollectorBasicClassIntrospector.collectPropertiesWithBuilder(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, boolean forSerialization) Deprecated.protected POJOPropertiesCollectorBasicClassIntrospector.collectPropertiesWithBuilder(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, BeanDescription valueTypeDesc, boolean forSerialization) static AnnotatedClassAnnotatedClass.construct(JavaType type, MapperConfig<?> config) Deprecated.Since 2.9, use methods inAnnotatedClassResolverinstead.static AnnotatedClassAnnotatedClass.construct(JavaType type, MapperConfig<?> config, ClassIntrospector.MixInResolver mir) Deprecated.Since 2.9, use methods inAnnotatedClassResolverinstead.protected POJOPropertiesCollectorBasicClassIntrospector.constructPropertyCollector(MapperConfig<?> config, AnnotatedClass classDef, JavaType type, boolean forSerialization, AccessorNamingStrategy accNaming) Overridable method called for creatingPOJOPropertiesCollectorinstance to use; override is needed if a custom sub-class is to be used.protected POJOPropertiesCollectorBasicClassIntrospector.constructPropertyCollector(MapperConfig<?> config, AnnotatedClass ac, JavaType type, boolean forSerialization, String mutatorPrefix) Deprecated.static AnnotatedClassAnnotatedClass.constructWithoutSuperTypes(Class<?> raw, MapperConfig<?> config) Deprecated.Since 2.9, use methods inAnnotatedClassResolverinstead.static AnnotatedClassAnnotatedClass.constructWithoutSuperTypes(Class<?> raw, MapperConfig<?> config, ClassIntrospector.MixInResolver mir) Deprecated.Since 2.9, use methods inAnnotatedClassResolverinstead.ConcreteBeanPropertyBase.findAliases(MapperConfig<?> config) voidAnnotationIntrospectorPair.findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties) voidJacksonAnnotationIntrospector.findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties) com.fasterxml.jackson.annotation.JsonCreator.ModeAnnotationIntrospectorPair.findCreatorAnnotation(MapperConfig<?> config, Annotated a) com.fasterxml.jackson.annotation.JsonCreator.ModeJacksonAnnotationIntrospector.findCreatorAnnotation(MapperConfig<?> config, Annotated a) voidAnnotationIntrospectorPair.findEnumAliases(MapperConfig<?> config, AnnotatedClass annotatedClass, Enum<?>[] enumConstants, String[][] aliases) voidJacksonAnnotationIntrospector.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.ValueAnnotationIntrospectorPair.findPolymorphicTypeInfo(MapperConfig<?> config, Annotated ann) com.fasterxml.jackson.annotation.JsonTypeInfo.ValueJacksonAnnotationIntrospector.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.ValueConcreteBeanPropertyBase.findPropertyFormat(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonIgnoreProperties.ValueAnnotationIntrospectorPair.findPropertyIgnoralByName(MapperConfig<?> config, Annotated ann) com.fasterxml.jackson.annotation.JsonIgnoreProperties.ValueJacksonAnnotationIntrospector.findPropertyIgnoralByName(MapperConfig<?> config, Annotated a) com.fasterxml.jackson.annotation.JsonInclude.ValueConcreteBeanPropertyBase.findPropertyInclusion(MapperConfig<?> config, Class<?> baseType) com.fasterxml.jackson.annotation.JsonIncludeProperties.ValueAnnotationIntrospectorPair.findPropertyInclusionByName(MapperConfig<?> config, Annotated a) com.fasterxml.jackson.annotation.JsonIncludeProperties.ValueJacksonAnnotationIntrospector.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 AccessorNamingStrategyAccessorNamingStrategy.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 BeanDescriptionClassIntrospector.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 BeanDescriptionClassIntrospector.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 BasicBeanDescriptionBasicBeanDescription.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 AccessorNamingStrategyAccessorNamingStrategy.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 AccessorNamingStrategyAccessorNamingStrategy.Provider.forRecord(MapperConfig<?> config, AnnotatedClass recordClass) Factory method for creating strategy instance for specialjava.lang.Recordtype (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 AnnotatedClassAnnotatedClassResolver.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 returnnullReturningnullwill indicate that resolution could not be done.static AnnotatedClassAnnotatedClassResolver.resolveWithoutSuperTypes(MapperConfig<?> config, JavaType forType, ClassIntrospector.MixInResolver r) static AnnotatedClassAnnotatedClassResolver.resolveWithoutSuperTypes(MapperConfig<?> config, Class<?> forType) static AnnotatedClassAnnotatedClassResolver.resolveWithoutSuperTypes(MapperConfig<?> config, Class<?> forType, ClassIntrospector.MixInResolver r) Constructors in com.fasterxml.jackson.databind.introspect with parameters of type MapperConfigModifierConstructorDescriptionprotectedBasicBeanDescription(MapperConfig<?> config, JavaType type, AnnotatedClass classDef, List<BeanPropertyDefinition> props) Alternate constructor used in cases where property information is not needed, only class info.protectedDefaultAccessorNamingStrategy(MapperConfig<?> config, AnnotatedClass forClass, String mutatorPrefix, String getterPrefix, String isGetterPrefix, DefaultAccessorNamingStrategy.BaseNameValidator baseNameValidator) protectedPOJOPropertiesCollector(MapperConfig<?> config, boolean forSerialization, JavaType type, AnnotatedClass classDef, AccessorNamingStrategy accessorNaming) protectedPOJOPropertiesCollector(MapperConfig<?> config, boolean forSerialization, JavaType type, AnnotatedClass classDef, String mutatorPrefix) Deprecated.Since 2.12POJOPropertyBuilder(MapperConfig<?> config, AnnotationIntrospector ai, boolean forSerialization, PropertyName internalName) protectedPOJOPropertyBuilder(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 AnnotatedConstructorJDK14Util.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 booleanDefaultBaseTypeLimitingValidator.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 booleanDefaultBaseTypeLimitingValidator.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 booleanBasicPolymorphicTypeValidator.NameMatcher.match(MapperConfig<?> config, String clazzName) abstract booleanBasicPolymorphicTypeValidator.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.ValidityPolymorphicTypeValidator.validateBaseType(MapperConfig<?> config, JavaType baseType) Method called when a property with polymorphic value is encountered, and aTypeResolverBuilderis 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.ValidityPolymorphicTypeValidator.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.ValidityPolymorphicTypeValidator.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(MapperConfig, JavaType, 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._configprotected final MapperConfig<?> TypeNameIdResolver._configMethods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type MapperConfigModifier and TypeMethodDescriptionprotected voidStdSubtypeResolver._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 voidStdSubtypeResolver._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 booleanStdTypeResolverBuilder.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 Javaprimitivetype.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 ClassNameIdResolverClassNameIdResolver.construct(JavaType baseType, MapperConfig<?> config, PolymorphicTypeValidator ptv) static MinimalClassNameIdResolverMinimalClassNameIdResolver.construct(JavaType baseType, MapperConfig<?> config, PolymorphicTypeValidator ptv) static SimpleNameIdResolverSimpleNameIdResolver.construct(MapperConfig<?> config, JavaType baseType, Collection<NamedType> subtypes, boolean forSer, boolean forDeser) static TypeNameIdResolverTypeNameIdResolver.construct(MapperConfig<?> config, JavaType baseType, Collection<NamedType> subtypes, boolean forSer, boolean forDeser) protected TypeIdResolverStdTypeResolverBuilder.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 PolymorphicTypeValidatorStdTypeResolverBuilder.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 PolymorphicTypeValidatorStdTypeResolverBuilder.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 MapperConfigModifierConstructorDescriptionprotectedSimpleNameIdResolver(MapperConfig<?> config, JavaType baseType, ConcurrentHashMap<String, String> typeToId, HashMap<String, JavaType> idToType) protectedTypeNameIdResolver(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 VirtualBeanPropertyWriterVirtualBeanPropertyWriter.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 EnumValuesstatic SimpleBeanPropertyDefinitionSimpleBeanPropertyDefinition.construct(MapperConfig<?> config, AnnotatedMember member) static SimpleBeanPropertyDefinitionSimpleBeanPropertyDefinition.construct(MapperConfig<?> config, AnnotatedMember member, PropertyName name) static SimpleBeanPropertyDefinitionSimpleBeanPropertyDefinition.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 SimpleBeanPropertyDefinitionSimpleBeanPropertyDefinition.construct(MapperConfig<?> config, AnnotatedMember member, PropertyName name, PropertyMetadata metadata, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion) static EnumValuesEnumValues.constructFromName(MapperConfig<?> config, AnnotatedClass annotatedClass) static EnumValuesEnumValues.constructFromName(MapperConfig<?> config, Class<Enum<?>> enumClass) Deprecated.Since 2.16, useEnumValues.constructFromName(MapperConfig, AnnotatedClass)instead.static EnumValuesEnumValues.constructFromToString(MapperConfig<?> config, AnnotatedClass annotatedClass) static EnumValuesEnumValues.constructFromToString(MapperConfig<?> config, Class<Enum<?>> enumClass) Deprecated.since 2.16; useEnumValues.constructFromToString(MapperConfig, AnnotatedClass)insteadstatic EnumValuesEnumValues.constructUsingEnumNamingStrategy(MapperConfig<?> config, AnnotatedClass annotatedClass, EnumNamingStrategy namingStrategy) Returns String serializations of Enum name using an instance ofEnumNamingStrategy.static EnumValuesEnumValues.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)