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.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 for
TypeResolverBuilder
and
TypeIdResolver . |
com.fasterxml.jackson.module.jaxb |
Package that contains support for using JAXB annotations for
configuring Jackson data-binding aspects.
|
Modifier and Type | Class and Description |
---|---|
static class |
ObjectMapper.DefaultTypeResolverBuilder
Customized
TypeResolverBuilder that provides type resolver builders
used with so-called "default typing"
(see ObjectMapper.enableDefaultTyping() for details). |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.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.
|
Modifier and Type | Field and Description |
---|---|
protected TypeResolverBuilder<?> |
BaseSettings._typeResolverBuilder
Type information handler used for "untyped" values (ones declared
to have type
Object.class ) |
Modifier and Type | Method and 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() |
TypeResolverBuilder<?> |
MapperConfig.typeResolverBuilderInstance(Annotated annotated,
Class<? extends TypeResolverBuilder<?>> builderClass)
Method that can be called to obtain an instance of
TypeIdResolver of
specified type. |
abstract TypeResolverBuilder<?> |
HandlerInstantiator.typeResolverBuilderInstance(MapperConfig<?> config,
Annotated annotated,
Class<?> builderClass)
Method called to get an instance of TypeResolverBuilder of specified type.
|
Modifier and Type | Method and Description |
---|---|
T |
MapperConfigBase.with(TypeResolverBuilder<?> trb)
Method for constructing and returning a new instance with different
TypeResolverBuilder to use. |
BaseSettings |
BaseSettings.withTypeResolverBuilder(TypeResolverBuilder<?> typer) |
Modifier and Type | Method and Description |
---|---|
TypeResolverBuilder<?> |
MapperConfig.typeResolverBuilderInstance(Annotated annotated,
Class<? extends TypeResolverBuilder<?>> builderClass)
Method that can be called to obtain an instance of
TypeIdResolver of
specified type. |
Constructor and Description |
---|
BaseSettings(ClassIntrospector ci,
AnnotationIntrospector ai,
PropertyNamingStrategy pns,
TypeFactory tf,
TypeResolverBuilder<?> typer,
DateFormat dateFormat,
HandlerInstantiator hi,
Locale locale,
TimeZone tz,
Base64Variant defaultBase64) |
Modifier and Type | Method and Description |
---|---|
protected TypeResolverBuilder<?> |
JacksonAnnotationIntrospector._findTypeResolver(MapperConfig<?> config,
Annotated ann,
JavaType baseType)
Helper method called to construct and initialize instance of
TypeResolverBuilder
if given annotated element indicates one is needed. |
TypeResolverBuilder<?> |
JacksonAnnotationIntrospector.findPropertyContentTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType containerType) |
TypeResolverBuilder<?> |
AnnotationIntrospectorPair.findPropertyContentTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType baseType) |
TypeResolverBuilder<?> |
JacksonAnnotationIntrospector.findPropertyTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType baseType) |
TypeResolverBuilder<?> |
AnnotationIntrospectorPair.findPropertyTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType baseType) |
TypeResolverBuilder<?> |
JacksonAnnotationIntrospector.findTypeResolver(MapperConfig<?> config,
AnnotatedClass ac,
JavaType baseType) |
TypeResolverBuilder<?> |
AnnotationIntrospectorPair.findTypeResolver(MapperConfig<?> config,
AnnotatedClass ac,
JavaType baseType) |
Modifier and Type | Interface and Description |
---|---|
interface |
TypeResolverBuilder<T extends TypeResolverBuilder<T>>
Interface that defines builders that are configured based on
annotations (like
JsonTypeInfo or JAXB annotations),
and produce type serializers and deserializers used for
handling type information embedded in JSON to allow for safe
polymorphic type handling. |
Modifier and Type | Class and Description |
---|---|
class |
StdTypeResolverBuilder
Default
TypeResolverBuilder implementation. |
Modifier and Type | Method and Description |
---|---|
protected TypeResolverBuilder<?> |
JaxbAnnotationIntrospector._typeResolverFromXmlElements(AnnotatedMember am) |
TypeResolverBuilder<?> |
JaxbAnnotationIntrospector.findPropertyContentTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType containerType) |
TypeResolverBuilder<?> |
JaxbAnnotationIntrospector.findPropertyTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType baseType) |
TypeResolverBuilder<?> |
JaxbAnnotationIntrospector.findTypeResolver(MapperConfig<?> config,
AnnotatedClass ac,
JavaType baseType) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.