Uses of Class
com.fasterxml.jackson.databind.jsontype.SubtypeResolver
Packages that use SubtypeResolver
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).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.-
Uses of SubtypeResolver in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as SubtypeResolverModifier and TypeFieldDescriptionprotected SubtypeResolverObjectMapper._subtypeResolverThing used for registering sub-types, resolving them to super/sub-types as needed.Methods in com.fasterxml.jackson.databind that return SubtypeResolverModifier and TypeMethodDescriptionObjectMapper.getSubtypeResolver()Method for accessing subtype resolver in use.Methods in com.fasterxml.jackson.databind with parameters of type SubtypeResolverModifier and TypeMethodDescriptionObjectMapper.setSubtypeResolver(SubtypeResolver str) Method for setting custom subtype resolver to use.DeserializationConfig.with(SubtypeResolver str) SerializationConfig.with(SubtypeResolver str) Constructors in com.fasterxml.jackson.databind with parameters of type SubtypeResolverModifierConstructorDescriptionDeserializationConfig(BaseSettings base, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides, CoercionConfigs coercionConfigs, DatatypeFeatures datatypeFeatures) Constructor used by ObjectMapper to create default configuration object instance.protectedDeserializationConfig(DeserializationConfig src, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides, CoercionConfigs coercionConfigs) Copy-constructor used for making a copy used by newObjectMapper.SerializationConfig(BaseSettings base, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides) Deprecated.since 2.14SerializationConfig(BaseSettings base, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides, DatatypeFeatures datatypeFeatures) Constructor used by ObjectMapper to create default configuration object instance.protectedSerializationConfig(SerializationConfig src, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides) Copy-constructor used for making a copy to be used by newObjectMapper. -
Uses of SubtypeResolver in com.fasterxml.jackson.databind.cfg
Fields in com.fasterxml.jackson.databind.cfg declared as SubtypeResolverModifier and TypeFieldDescriptionprotected final SubtypeResolverMapperConfigBase._subtypeResolverRegistered concrete subtypes that can be used instead of (or in addition to) ones declared using annotations.Methods in com.fasterxml.jackson.databind.cfg that return SubtypeResolverModifier and TypeMethodDescriptionabstract SubtypeResolverMapperConfig.getSubtypeResolver()final SubtypeResolverMapperConfigBase.getSubtypeResolver()Accessor for object used for finding out all reachable subtypes for supertypes; needed when a logical type name is used instead of class name (or custom scheme).Methods in com.fasterxml.jackson.databind.cfg with parameters of type SubtypeResolverModifier and TypeMethodDescriptionMapperBuilder.subtypeResolver(SubtypeResolver r) abstract TMapperConfigBase.with(SubtypeResolver str) Method for constructing and returning a new instance with differentSubtypeResolverto use.Constructors in com.fasterxml.jackson.databind.cfg with parameters of type SubtypeResolverModifierConstructorDescriptionprotectedMapperConfigBase(BaseSettings base, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides, DatatypeFeatures datatypeFeatures) Constructor used when creating a new instance (compared to that of creating fluent copies)protectedMapperConfigBase(MapperConfigBase<CFG, T> src, SubtypeResolver str) protectedMapperConfigBase(MapperConfigBase<CFG, T> src, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides) Copy constructor usually called to make a copy for use by ObjectMapper that is copied. -
Uses of SubtypeResolver in com.fasterxml.jackson.databind.jsontype
Methods in com.fasterxml.jackson.databind.jsontype that return SubtypeResolverModifier and TypeMethodDescriptionSubtypeResolver.copy()Method called byObjectMapper.copy()to make sure thatSubtypeResolverinstances used by two independent mappers can not cause thread-safety issues: if resolver is immutable, it may returnthis, but if not, it should create a copy with same configuration and return that instead. -
Uses of SubtypeResolver in com.fasterxml.jackson.databind.jsontype.impl
Subclasses of SubtypeResolver in com.fasterxml.jackson.databind.jsontype.implMethods in com.fasterxml.jackson.databind.jsontype.impl that return SubtypeResolver