Uses of Class
com.fasterxml.jackson.databind.cfg.MapperConfig
-
Packages that use MapperConfig Package Description com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.cfg 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
).com.fasterxml.jackson.databind.deser.impl Contains those implementation classes of deserialization part of data binding that are not considered part of public or semi-public interfaces.com.fasterxml.jackson.databind.introspect Functionality needed for Bean introspection, required for detecting accessors and mutators for Beans, as well as locating and handling method annotations.com.fasterxml.jackson.databind.jsontype Package that contains interfaces that define how to implement functionality for dynamically resolving type during deserialization.com.fasterxml.jackson.databind.jsontype.impl Package that contains standard implementations forTypeResolverBuilder
andTypeIdResolver
.com.fasterxml.jackson.databind.ser Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.ser.impl Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.util Utility classes for Mapper package. -
-
Uses of MapperConfig in com.fasterxml.jackson.databind
Subclasses of MapperConfig in com.fasterxml.jackson.databind Modifier and Type Class Description class
DeserializationConfig
Object that contains baseline configuration for deserialization process.class
SerializationConfig
Object that contains baseline configuration for serialization process.Methods in com.fasterxml.jackson.databind that return MapperConfig Modifier and Type Method Description abstract 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 MapperConfig Modifier and Type Method Description java.util.List<PropertyName>
BeanProperty.Bogus. findAliases(MapperConfig<?> config)
java.util.List<PropertyName>
BeanProperty. findAliases(MapperConfig<?> config)
Method for accessing set of possible alternate names that are accepted during deserialization.java.util.List<PropertyName>
BeanProperty.Std. findAliases(MapperConfig<?> config)
void
AnnotationIntrospector. findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, java.util.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 a)
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.TypeResolverBuilder<?>
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, java.lang.Class<?> baseType)
com.fasterxml.jackson.annotation.JsonFormat.Value
BeanProperty. findPropertyFormat(MapperConfig<?> config, java.lang.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, java.lang.Class<?> baseType)
com.fasterxml.jackson.annotation.JsonInclude.Value
BeanProperty.Bogus. findPropertyInclusion(MapperConfig<?> config, java.lang.Class<?> baseType)
com.fasterxml.jackson.annotation.JsonInclude.Value
BeanProperty. findPropertyInclusion(MapperConfig<?> config, java.lang.Class<?> baseType)
Convenience method that is roughly equivalent tocom.fasterxml.jackson.annotation.JsonInclude.Value
BeanProperty.Std. findPropertyInclusion(MapperConfig<?> config, java.lang.Class<?> baseType)
TypeResolverBuilder<?>
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.TypeResolverBuilder<?>
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.java.lang.String
PropertyNamingStrategy. nameForConstructorParameter(MapperConfig<?> config, AnnotatedParameter ctorParam, java.lang.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).java.lang.String
PropertyNamingStrategy.PropertyNamingStrategyBase. nameForConstructorParameter(MapperConfig<?> config, AnnotatedParameter ctorParam, java.lang.String defaultName)
java.lang.String
PropertyNamingStrategy. nameForField(MapperConfig<?> config, AnnotatedField field, java.lang.String defaultName)
Method called to find external name (name used in JSON) for given logical POJO property, as defined by given field.java.lang.String
PropertyNamingStrategy.PropertyNamingStrategyBase. nameForField(MapperConfig<?> config, AnnotatedField field, java.lang.String defaultName)
java.lang.String
PropertyNamingStrategy. nameForGetterMethod(MapperConfig<?> config, AnnotatedMethod method, java.lang.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.java.lang.String
PropertyNamingStrategy.PropertyNamingStrategyBase. nameForGetterMethod(MapperConfig<?> config, AnnotatedMethod method, java.lang.String defaultName)
java.lang.String
PropertyNamingStrategy. nameForSetterMethod(MapperConfig<?> config, AnnotatedMethod method, java.lang.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).java.lang.String
PropertyNamingStrategy.PropertyNamingStrategyBase. nameForSetterMethod(MapperConfig<?> config, AnnotatedMethod method, java.lang.String defaultName)
JavaType
AnnotationIntrospector. refineDeserializationType(MapperConfig<?> config, Annotated a, JavaType baseType)
Method called to find out possible type refinements to use for deserialization.JavaType
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.AnnotatedMethod
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.PolymorphicTypeValidator
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 MapperConfig Modifier and Type Class Description class
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.cfg Modifier and Type Class Description class
MapperConfigBase<CFG extends ConfigFeature,T extends MapperConfigBase<CFG,T>>
Methods in com.fasterxml.jackson.databind.cfg with parameters of type MapperConfig Modifier and Type Method Description Converter<?,?>
HandlerInstantiator. converterInstance(MapperConfig<?> config, Annotated annotated, java.lang.Class<?> implClass)
Method called to construct a Converter instance used for specified class.PropertyNamingStrategy
HandlerInstantiator. namingStrategyInstance(MapperConfig<?> config, Annotated annotated, java.lang.Class<?> implClass)
Method called to construct a NamingStrategy instance used for specified class.com.fasterxml.jackson.annotation.ObjectIdGenerator<?>
HandlerInstantiator. objectIdGeneratorInstance(MapperConfig<?> config, Annotated annotated, java.lang.Class<?> implClass)
Method called to construct a ObjectIdHandler instance of specified type.com.fasterxml.jackson.annotation.ObjectIdResolver
HandlerInstantiator. resolverIdGeneratorInstance(MapperConfig<?> config, Annotated annotated, java.lang.Class<?> implClass)
abstract TypeIdResolver
HandlerInstantiator. typeIdResolverInstance(MapperConfig<?> config, Annotated annotated, java.lang.Class<?> resolverClass)
Method called to get an instance of TypeIdResolver of specified type.abstract TypeResolverBuilder<?>
HandlerInstantiator. typeResolverBuilderInstance(MapperConfig<?> config, Annotated annotated, java.lang.Class<?> builderClass)
Method called to get an instance of TypeResolverBuilder of specified type.ValueInstantiator
HandlerInstantiator. valueInstantiatorInstance(MapperConfig<?> config, Annotated annotated, java.lang.Class<?> resolverClass)
Method called to construct an instance of ValueInstantiator of specified type.VirtualBeanPropertyWriter
HandlerInstantiator. virtualPropertyWriterInstance(MapperConfig<?> config, java.lang.Class<?> implClass)
Method called to construct aVirtualBeanPropertyWriter
instance of specified type.Constructors in com.fasterxml.jackson.databind.cfg with parameters of type MapperConfig Constructor Description MapperConfig(MapperConfig<T> src)
MapperConfig(MapperConfig<T> src, int mapperFeatures)
MapperConfig(MapperConfig<T> src, BaseSettings base)
-
Uses of MapperConfig in com.fasterxml.jackson.databind.deser.impl
Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type MapperConfig Constructor Description CreatorCollector(BeanDescription beanDesc, MapperConfig<?> config)
-
Uses of MapperConfig in com.fasterxml.jackson.databind.introspect
Fields in com.fasterxml.jackson.databind.introspect declared as MapperConfig Modifier and Type Field Description protected MapperConfig<?>
BasicBeanDescription. _config
protected MapperConfig<?>
POJOPropertiesCollector. _config
Configuration settingsprotected MapperConfig<?>
POJOPropertyBuilder. _config
Methods in com.fasterxml.jackson.databind.introspect that return MapperConfig Modifier and Type Method Description MapperConfig<?>
POJOPropertiesCollector. getConfig()
Methods in com.fasterxml.jackson.databind.introspect with parameters of type MapperConfig Modifier and Type Method Description 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 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, java.lang.String mutatorPrefix)
protected POJOPropertiesCollector
BasicClassIntrospector. collectPropertiesWithBuilder(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, 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 ac, JavaType type, boolean forSerialization, java.lang.String mutatorPrefix)
Overridable method called for creatingPOJOPropertiesCollector
instance to use; override is needed if a custom sub-class is to be used.static AnnotatedClass
AnnotatedClass. constructWithoutSuperTypes(java.lang.Class<?> raw, MapperConfig<?> config)
Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead.static AnnotatedClass
AnnotatedClass. constructWithoutSuperTypes(java.lang.Class<?> raw, MapperConfig<?> config, ClassIntrospector.MixInResolver mir)
Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead.java.util.List<PropertyName>
ConcreteBeanPropertyBase. findAliases(MapperConfig<?> config)
void
AnnotationIntrospectorPair. findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, java.util.List<BeanPropertyWriter> properties)
void
JacksonAnnotationIntrospector. findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, java.util.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)
TypeResolverBuilder<?>
AnnotationIntrospectorPair. findPropertyContentTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType baseType)
TypeResolverBuilder<?>
JacksonAnnotationIntrospector. findPropertyContentTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType containerType)
com.fasterxml.jackson.annotation.JsonFormat.Value
ConcreteBeanPropertyBase. findPropertyFormat(MapperConfig<?> config, java.lang.Class<?> baseType)
com.fasterxml.jackson.annotation.JsonInclude.Value
ConcreteBeanPropertyBase. findPropertyInclusion(MapperConfig<?> config, java.lang.Class<?> baseType)
TypeResolverBuilder<?>
AnnotationIntrospectorPair. findPropertyTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType baseType)
TypeResolverBuilder<?>
JacksonAnnotationIntrospector. findPropertyTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType baseType)
TypeResolverBuilder<?>
AnnotationIntrospectorPair. findTypeResolver(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType)
TypeResolverBuilder<?>
JacksonAnnotationIntrospector. findTypeResolver(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType)
BasicBeanDescription
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.BasicBeanDescription
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.JavaType
AnnotationIntrospectorPair. refineDeserializationType(MapperConfig<?> config, Annotated a, JavaType baseType)
JavaType
JacksonAnnotationIntrospector. refineDeserializationType(MapperConfig<?> config, Annotated a, JavaType baseType)
JavaType
AnnotationIntrospectorPair. refineSerializationType(MapperConfig<?> config, Annotated a, JavaType baseType)
JavaType
JacksonAnnotationIntrospector. refineSerializationType(MapperConfig<?> config, Annotated a, JavaType baseType)
static AnnotatedClass
AnnotatedClassResolver. resolve(MapperConfig<?> config, JavaType forType, ClassIntrospector.MixInResolver r)
AnnotatedMethod
AnnotationIntrospectorPair. resolveSetterConflict(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2)
AnnotatedMethod
JacksonAnnotationIntrospector. resolveSetterConflict(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2)
static AnnotatedClass
AnnotatedClassResolver. resolveWithoutSuperTypes(MapperConfig<?> config, JavaType forType, ClassIntrospector.MixInResolver r)
static AnnotatedClass
AnnotatedClassResolver. resolveWithoutSuperTypes(MapperConfig<?> config, java.lang.Class<?> forType)
static AnnotatedClass
AnnotatedClassResolver. resolveWithoutSuperTypes(MapperConfig<?> config, java.lang.Class<?> forType, ClassIntrospector.MixInResolver r)
Constructors in com.fasterxml.jackson.databind.introspect with parameters of type MapperConfig Constructor Description BasicBeanDescription(MapperConfig<?> config, JavaType type, AnnotatedClass classDef, java.util.List<BeanPropertyDefinition> props)
Alternate constructor used in cases where property information is not needed, only class info.POJOPropertiesCollector(MapperConfig<?> config, boolean forSerialization, JavaType type, AnnotatedClass classDef, java.lang.String mutatorPrefix)
POJOPropertyBuilder(MapperConfig<?> config, AnnotationIntrospector ai, boolean forSerialization, PropertyName internalName)
POJOPropertyBuilder(MapperConfig<?> config, AnnotationIntrospector ai, boolean forSerialization, PropertyName internalName, PropertyName name)
-
Uses of MapperConfig in com.fasterxml.jackson.databind.jsontype
Methods in com.fasterxml.jackson.databind.jsontype with parameters of type MapperConfig Modifier and Type Method Description java.util.Collection<NamedType>
SubtypeResolver. collectAndResolveSubtypes(AnnotatedClass baseType, MapperConfig<?> config, AnnotationIntrospector ai)
Deprecated.java.util.Collection<NamedType>
SubtypeResolver. collectAndResolveSubtypes(AnnotatedMember property, MapperConfig<?> config, AnnotationIntrospector ai, JavaType baseType)
Deprecated.java.util.Collection<NamedType>
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).java.util.Collection<NamedType>
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).java.util.Collection<NamedType>
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).java.util.Collection<NamedType>
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).PolymorphicTypeValidator.Validity
BasicPolymorphicTypeValidator. validateBaseType(MapperConfig<?> ctxt, JavaType baseType)
PolymorphicTypeValidator.Validity
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.PolymorphicTypeValidator.Validity
BasicPolymorphicTypeValidator. validateSubClassName(MapperConfig<?> ctxt, JavaType baseType, java.lang.String subClassName)
PolymorphicTypeValidator.Validity
PolymorphicTypeValidator.Base. validateSubClassName(MapperConfig<?> config, JavaType baseType, java.lang.String subClassName)
abstract PolymorphicTypeValidator.Validity
PolymorphicTypeValidator. validateSubClassName(MapperConfig<?> config, JavaType baseType, java.lang.String subClassName)
Method called after intended class name for subtype has been read (and in case of minimal class name, expanded to fully-qualified class name) but before attempt is made to look up actualClass
orJavaType
.PolymorphicTypeValidator.Validity
BasicPolymorphicTypeValidator. validateSubType(MapperConfig<?> ctxt, JavaType baseType, JavaType subType)
PolymorphicTypeValidator.Validity
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 MapperConfig Modifier and Type Field Description protected MapperConfig<?>
TypeNameIdResolver. _config
Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type MapperConfig Modifier and Type Method Description protected void
StdSubtypeResolver. _collectAndResolve(AnnotatedClass annotatedType, NamedType namedType, MapperConfig<?> config, AnnotationIntrospector ai, java.util.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, java.util.Set<java.lang.Class<?>> typesHandled, java.util.Map<java.lang.String,NamedType> byName)
Method called to find subtypes for a specific type (class), using type id as the unique key (in case of conflicts).java.util.Collection<NamedType>
StdSubtypeResolver. collectAndResolveSubtypesByClass(MapperConfig<?> config, AnnotatedClass type)
java.util.Collection<NamedType>
StdSubtypeResolver. collectAndResolveSubtypesByClass(MapperConfig<?> config, AnnotatedMember property, JavaType baseType)
java.util.Collection<NamedType>
StdSubtypeResolver. collectAndResolveSubtypesByTypeId(MapperConfig<?> config, AnnotatedClass baseType)
java.util.Collection<NamedType>
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 TypeNameIdResolver
TypeNameIdResolver. construct(MapperConfig<?> config, JavaType baseType, java.util.Collection<NamedType> subtypes, boolean forSer, boolean forDeser)
protected TypeIdResolver
StdTypeResolverBuilder. idResolver(MapperConfig<?> config, JavaType baseType, PolymorphicTypeValidator subtypeValidator, java.util.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)
PolymorphicTypeValidator
StdTypeResolverBuilder. subTypeValidator(MapperConfig<?> config)
Overridable helper method for determining actual validator to use when constructing type serializers and type deserializers.PolymorphicTypeValidator.Validity
LaissezFaireSubTypeValidator. validateBaseType(MapperConfig<?> ctxt, JavaType baseType)
PolymorphicTypeValidator.Validity
LaissezFaireSubTypeValidator. validateSubClassName(MapperConfig<?> ctxt, JavaType baseType, java.lang.String subClassName)
PolymorphicTypeValidator.Validity
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 MapperConfig Constructor Description TypeNameIdResolver(MapperConfig<?> config, JavaType baseType, java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.String> typeToId, java.util.HashMap<java.lang.String,JavaType> idToType)
-
Uses of MapperConfig in com.fasterxml.jackson.databind.ser
Methods in com.fasterxml.jackson.databind.ser with parameters of type MapperConfig Modifier and Type Method Description abstract 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 MapperConfig Modifier and Type Method Description VirtualBeanPropertyWriter
AttributePropertyWriter. 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 MapperConfig Modifier and Type Method Description 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, java.lang.Class<java.lang.Enum<?>> enumClass)
static EnumValues
EnumValues. constructFromToString(MapperConfig<?> config, java.lang.Class<java.lang.Enum<?>> enumClass)
PropertyName
RootNameLookup. findRootName(JavaType rootType, MapperConfig<?> config)
PropertyName
RootNameLookup. findRootName(java.lang.Class<?> rootType, MapperConfig<?> config)
-