Package | Description |
---|---|
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 for
TypeResolverBuilder
and
TypeIdResolver . |
Modifier and Type | Method and Description |
---|---|
TypeIdResolver |
MapperConfig.typeIdResolverInstance(Annotated annotated,
Class<? extends TypeIdResolver> resolverClass)
Method that can be called to obtain an instance of
TypeIdResolver of
specified type. |
abstract TypeIdResolver |
HandlerInstantiator.typeIdResolverInstance(MapperConfig<?> config,
Annotated annotated,
Class<?> resolverClass)
Method called to get an instance of TypeIdResolver of specified type.
|
Modifier and Type | Method and Description |
---|---|
TypeIdResolver |
MapperConfig.typeIdResolverInstance(Annotated annotated,
Class<? extends TypeIdResolver> resolverClass)
Method that can be called to obtain an instance of
TypeIdResolver of
specified type. |
Modifier and Type | Method and Description |
---|---|
abstract TypeIdResolver |
TypeSerializer.getTypeIdResolver()
Accessor for object that handles conversions between
types and matching type ids.
|
abstract TypeIdResolver |
TypeDeserializer.getTypeIdResolver()
Accessor for object that handles conversions between
types and matching type ids.
|
Modifier and Type | Method and Description |
---|---|
T |
TypeResolverBuilder.init(com.fasterxml.jackson.annotation.JsonTypeInfo.Id idType,
TypeIdResolver res)
Initialization method that is called right after constructing
the builder instance.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassNameIdResolver
TypeIdResolver implementation
that converts between fully-qualified
Java class names and (JSON) Strings. |
class |
MinimalClassNameIdResolver |
class |
TypeIdResolverBase
Partial base implementation of
TypeIdResolver : all custom implementations
are strongly recommended to extend this class, instead of directly
implementing TypeIdResolver . |
class |
TypeNameIdResolver |
Modifier and Type | Field and Description |
---|---|
protected TypeIdResolver |
StdTypeResolverBuilder._customIdResolver |
protected TypeIdResolver |
TypeSerializerBase._idResolver |
protected TypeIdResolver |
TypeDeserializerBase._idResolver |
Modifier and Type | Method and Description |
---|---|
TypeIdResolver |
TypeSerializerBase.getTypeIdResolver() |
TypeIdResolver |
TypeDeserializerBase.getTypeIdResolver() |
protected TypeIdResolver |
StdTypeResolverBuilder.idResolver(MapperConfig<?> config,
JavaType baseType,
Collection<NamedType> subtypes,
boolean forSer,
boolean forDeser)
Helper method that will either return configured custom
type id resolver, or construct a standard resolver
given configuration.
|
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<Object> |
TypeDeserializerBase._handleUnknownTypeId(DeserializationContext ctxt,
String typeId,
TypeIdResolver idResolver,
JavaType baseType)
Helper method called when given type id can not be resolved into
concrete deserializer either directly (using given
TypeIdResolver ),
or using default type. |
StdTypeResolverBuilder |
StdTypeResolverBuilder.init(com.fasterxml.jackson.annotation.JsonTypeInfo.Id idType,
TypeIdResolver idRes) |
Constructor and Description |
---|
AsArrayTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
String typePropertyName,
boolean typeIdVisible,
Class<?> defaultImpl) |
AsArrayTypeSerializer(TypeIdResolver idRes,
BeanProperty property) |
AsExistingPropertyTypeSerializer(TypeIdResolver idRes,
BeanProperty property,
String propName) |
AsExternalTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
String typePropertyName,
boolean typeIdVisible,
Class<?> defaultImpl) |
AsExternalTypeSerializer(TypeIdResolver idRes,
BeanProperty property,
String propName) |
AsPropertyTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
String typePropertyName,
boolean typeIdVisible,
Class<?> defaultImpl) |
AsPropertyTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
String typePropertyName,
boolean typeIdVisible,
Class<?> defaultImpl,
com.fasterxml.jackson.annotation.JsonTypeInfo.As inclusion) |
AsPropertyTypeSerializer(TypeIdResolver idRes,
BeanProperty property,
String propName) |
AsWrapperTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
String typePropertyName,
boolean typeIdVisible,
Class<?> defaultImpl) |
AsWrapperTypeSerializer(TypeIdResolver idRes,
BeanProperty property) |
TypeDeserializerBase(JavaType baseType,
TypeIdResolver idRes,
String typePropertyName,
boolean typeIdVisible,
Class<?> defaultImpl) |
TypeSerializerBase(TypeIdResolver idRes,
BeanProperty property) |
Copyright © 2014–2015 FasterXML. All rights reserved.