Uses of Interface
com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder
-
Packages that use TypeResolverBuilder 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.annotation Annotations that directly depend on classes in databinding bundle (not just Jackson core) and cannot be included in Jackson core annotations package (because it cannot have any external dependencies).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.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
. -
-
Uses of TypeResolverBuilder in com.fasterxml.jackson.databind
Classes in com.fasterxml.jackson.databind that implement TypeResolverBuilder Modifier and Type Class Description static class
ObjectMapper.DefaultTypeResolverBuilder
CustomizedTypeResolverBuilder
that provides type resolver builders used with so-called "default typing" (seeObjectMapper.activateDefaultTyping(PolymorphicTypeValidator)
for details).Methods in com.fasterxml.jackson.databind that return TypeResolverBuilder Modifier and Type Method Description protected TypeResolverBuilder<?>
ObjectMapper. _constructDefaultTypeResolverBuilder(ObjectMapper.DefaultTyping applicability, PolymorphicTypeValidator ptv)
Overridable factory method, separate to allow format-specific mappers (and specifically XML-backed one, currently) to offer customTypeResolverBuilder
subtypes.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.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.Methods in com.fasterxml.jackson.databind with parameters of type TypeResolverBuilder Modifier and Type Method Description ObjectMapper
ObjectMapper. setDefaultTyping(TypeResolverBuilder<?> typer)
Method for enabling automatic inclusion of type information ("Default Typing"), using specified handler object for determining which types this affects, as well as details of how information is embedded. -
Uses of TypeResolverBuilder in com.fasterxml.jackson.databind.annotation
Methods in com.fasterxml.jackson.databind.annotation that return types with arguments of type TypeResolverBuilder Modifier and Type Method Description java.lang.Class<? extends TypeResolverBuilder<?>>
value()
Defines implementation class ofTypeResolverBuilder
which is used to construct actualTypeDeserializer
andTypeDeserializer
instances that handle reading and writing addition type information needed to support polymorphic deserialization. -
Uses of TypeResolverBuilder in com.fasterxml.jackson.databind.cfg
Fields in com.fasterxml.jackson.databind.cfg declared as TypeResolverBuilder Modifier and Type Field Description protected TypeResolverBuilder<?>
BaseSettings. _typeResolverBuilder
Builder used to create type resolver for serializing and deserializing values for which polymorphic type handling is needed.Methods in com.fasterxml.jackson.databind.cfg that return TypeResolverBuilder Modifier and Type Method Description TypeResolverBuilder<?>
MapperConfig. getDefaultTyper(JavaType baseType)
Method called to locate a type info handler for types that do not have one explicitly declared via annotations (or other configuration).TypeResolverBuilder<?>
BaseSettings. getTypeResolverBuilder()
abstract TypeResolverBuilder<?>
HandlerInstantiator. typeResolverBuilderInstance(MapperConfig<?> config, Annotated annotated, java.lang.Class<?> builderClass)
Method called to get an instance of TypeResolverBuilder of specified type.TypeResolverBuilder<?>
MapperConfig. typeResolverBuilderInstance(Annotated annotated, java.lang.Class<? extends TypeResolverBuilder<?>> builderClass)
Method that can be called to obtain an instance ofTypeIdResolver
of specified type.Methods in com.fasterxml.jackson.databind.cfg with parameters of type TypeResolverBuilder Modifier and Type Method Description B
MapperBuilder. setDefaultTyping(TypeResolverBuilder<?> typer)
Method for enabling automatic inclusion of type information, using specified handler object for determining which types this affects, as well as details of how information is embedded.T
MapperConfigBase. with(TypeResolverBuilder<?> trb)
Method for constructing and returning a new instance with differentTypeResolverBuilder
to use.BaseSettings
BaseSettings. withTypeResolverBuilder(TypeResolverBuilder<?> typer)
Method parameters in com.fasterxml.jackson.databind.cfg with type arguments of type TypeResolverBuilder Modifier and Type Method Description TypeResolverBuilder<?>
MapperConfig. typeResolverBuilderInstance(Annotated annotated, java.lang.Class<? extends TypeResolverBuilder<?>> builderClass)
Method that can be called to obtain an instance ofTypeIdResolver
of specified type.Constructors in com.fasterxml.jackson.databind.cfg with parameters of type TypeResolverBuilder Constructor Description BaseSettings(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, java.text.DateFormat dateFormat, HandlerInstantiator hi, java.util.Locale locale, java.util.TimeZone tz, com.fasterxml.jackson.core.Base64Variant defaultBase64, PolymorphicTypeValidator ptv)
Deprecated.BaseSettings(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, java.text.DateFormat dateFormat, HandlerInstantiator hi, java.util.Locale locale, java.util.TimeZone tz, com.fasterxml.jackson.core.Base64Variant defaultBase64, PolymorphicTypeValidator ptv, AccessorNamingStrategy.Provider accNaming)
-
Uses of TypeResolverBuilder in com.fasterxml.jackson.databind.introspect
Methods in com.fasterxml.jackson.databind.introspect that return TypeResolverBuilder Modifier and Type Method Description 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.TypeResolverBuilder<?>
AnnotationIntrospectorPair. findPropertyContentTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType baseType)
TypeResolverBuilder<?>
JacksonAnnotationIntrospector. findPropertyContentTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType containerType)
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)
-
Uses of TypeResolverBuilder in com.fasterxml.jackson.databind.jsontype
Classes in com.fasterxml.jackson.databind.jsontype with type parameters of type TypeResolverBuilder Modifier and Type Interface Description interface
TypeResolverBuilder<T extends TypeResolverBuilder<T>>
Interface that defines builders that are configured based on annotations (likeJsonTypeInfo
or JAXB annotations), and produce type serializers and deserializers used for handling type information embedded in JSON to allow for safe polymorphic type handling. -
Uses of TypeResolverBuilder in com.fasterxml.jackson.databind.jsontype.impl
Classes in com.fasterxml.jackson.databind.jsontype.impl that implement TypeResolverBuilder Modifier and Type Class Description class
StdTypeResolverBuilder
DefaultTypeResolverBuilder
implementation.
-