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 forTypeResolverBuilderandTypeIdResolver. -
-
Uses of SubtypeResolver in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as SubtypeResolver Modifier and Type Field Description protected SubtypeResolverObjectMapper. _subtypeResolverThing 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 SubtypeResolverObjectMapper. getSubtypeResolver()Method for accessing subtype resolver in use.Methods in com.fasterxml.jackson.databind with parameters of type SubtypeResolver Modifier and Type Method Description ObjectMapperObjectMapper. setSubtypeResolver(SubtypeResolver str)Method for setting custom subtype resolver to use.DeserializationConfigDeserializationConfig. with(SubtypeResolver str)SerializationConfigSerializationConfig. 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, CoercionConfigs coercionConfigs, DatatypeFeatures datatypeFeatures)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)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.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 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 SubtypeResolver Modifier and Type Method Description abstract SubtypeResolverMapperConfig. getSubtypeResolver()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 SubtypeResolver Modifier and Type Method Description BMapperBuilder. 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 SubtypeResolver Constructor Description MapperConfigBase(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)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 SubtypeResolverSubtypeResolver. 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.impl Modifier and Type Class Description classStdSubtypeResolverStandardSubtypeResolverimplementation.Methods in com.fasterxml.jackson.databind.jsontype.impl that return SubtypeResolver Modifier and Type Method Description SubtypeResolverStdSubtypeResolver. copy()
-