Uses of Class
com.fasterxml.jackson.databind.jsontype.SubtypeResolver
-
Packages that use SubtypeResolver 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.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
. -
-
Uses of SubtypeResolver in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as SubtypeResolver Modifier and Type Field Description protected SubtypeResolver
ObjectMapper. _subtypeResolver
Thing used for registering sub-types, resolving them to super/sub-types as needed.Methods in com.fasterxml.jackson.databind that return SubtypeResolver Modifier and Type Method Description SubtypeResolver
ObjectMapper. getSubtypeResolver()
Method for accessing subtype resolver in use.Methods in com.fasterxml.jackson.databind with parameters of type SubtypeResolver Modifier and Type Method Description ObjectMapper
ObjectMapper. setSubtypeResolver(SubtypeResolver str)
Method for setting custom subtype resolver to use.DeserializationConfig
DeserializationConfig. with(SubtypeResolver str)
SerializationConfig
SerializationConfig. with(SubtypeResolver str)
Constructors in com.fasterxml.jackson.databind with parameters of type SubtypeResolver Constructor Description DeserializationConfig(BaseSettings base, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides)
Deprecated.DeserializationConfig(BaseSettings base, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides, CoercionConfigs coercionConfigs)
Constructor used by ObjectMapper to create default configuration object instance.DeserializationConfig(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)
Constructor used by ObjectMapper to create default configuration object instance.SerializationConfig(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 SubtypeResolver Modifier and Type Field Description protected SubtypeResolver
MapperConfigBase. _subtypeResolver
Registered 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 SubtypeResolver Modifier and Type Method Description abstract SubtypeResolver
MapperConfig. getSubtypeResolver()
SubtypeResolver
MapperConfigBase. 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 SubtypeResolver Modifier and Type Method Description B
MapperBuilder. subtypeResolver(SubtypeResolver r)
abstract T
MapperConfigBase. with(SubtypeResolver str)
Method for constructing and returning a new instance with differentSubtypeResolver
to use.Constructors in com.fasterxml.jackson.databind.cfg with parameters of type SubtypeResolver Constructor Description MapperConfigBase(BaseSettings base, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides)
Constructor used when creating a new instance (compared to that of creating fluent copies)MapperConfigBase(MapperConfigBase<CFG,T> src, SubtypeResolver str)
MapperConfigBase(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 SubtypeResolver Modifier and Type Method Description SubtypeResolver
SubtypeResolver. copy()
Method called byObjectMapper.copy()
to make sure thatSubtypeResolver
instances 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.impl Modifier and Type Class Description class
StdSubtypeResolver
StandardSubtypeResolver
implementation.Methods in com.fasterxml.jackson.databind.jsontype.impl that return SubtypeResolver Modifier and Type Method Description SubtypeResolver
StdSubtypeResolver. copy()
-