Package | Description |
---|---|
org.codehaus.jackson.map |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
org.codehaus.jackson.map.jsontype |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
org.codehaus.jackson.map.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
Modifier and Type | Method and Description |
---|---|
abstract TypeIdResolver |
TypeDeserializer.getTypeIdResolver()
Accessor for object that handles conversions between
types and matching type ids.
|
abstract TypeIdResolver |
TypeSerializer.getTypeIdResolver()
Accessor for object that handles conversions between
types and matching type ids.
|
TypeIdResolver |
MapperConfig.typeIdResolverInstance(Annotated annotated,
java.lang.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,
java.lang.Class<? extends TypeIdResolver> resolverClass)
Method called to get an instance of TypeIdResolver of specified type.
|
Modifier and Type | Method and Description |
---|---|
TypeIdResolver |
MapperConfig.typeIdResolverInstance(Annotated annotated,
java.lang.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,
java.lang.Class<? extends TypeIdResolver> resolverClass)
Method called to get an instance of TypeIdResolver of specified type.
|
Modifier and Type | Method and Description |
---|---|
T |
TypeResolverBuilder.init(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 |
class |
TypeNameIdResolver |
Modifier and Type | Field and Description |
---|---|
protected TypeIdResolver |
StdTypeResolverBuilder._customIdResolver |
protected TypeIdResolver |
TypeDeserializerBase._idResolver |
protected TypeIdResolver |
TypeSerializerBase._idResolver |
Modifier and Type | Method and Description |
---|---|
TypeIdResolver |
TypeDeserializerBase.getTypeIdResolver() |
TypeIdResolver |
TypeSerializerBase.getTypeIdResolver() |
protected TypeIdResolver |
StdTypeResolverBuilder.idResolver(MapperConfig<?> config,
JavaType baseType,
java.util.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 |
---|---|
StdTypeResolverBuilder |
StdTypeResolverBuilder.init(JsonTypeInfo.Id idType,
TypeIdResolver idRes) |
Constructor and Description |
---|
AsArrayTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
BeanProperty property)
Deprecated.
|
AsArrayTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
BeanProperty property,
java.lang.Class<?> defaultImpl) |
AsArrayTypeSerializer(TypeIdResolver idRes,
BeanProperty property) |
AsExternalTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
BeanProperty property,
java.lang.Class<?> defaultImpl,
java.lang.String typePropName) |
AsExternalTypeSerializer(TypeIdResolver idRes,
BeanProperty property,
java.lang.String propName) |
AsPropertyTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
BeanProperty property,
java.lang.Class<?> defaultImpl,
java.lang.String typePropName) |
AsPropertyTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
BeanProperty property,
java.lang.String typePropName)
Deprecated.
|
AsPropertyTypeSerializer(TypeIdResolver idRes,
BeanProperty property,
java.lang.String propName) |
AsWrapperTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
BeanProperty property)
Deprecated.
|
AsWrapperTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
BeanProperty property,
java.lang.Class<?> defaultImpl) |
AsWrapperTypeSerializer(TypeIdResolver idRes,
BeanProperty property) |
TypeDeserializerBase(JavaType baseType,
TypeIdResolver idRes,
BeanProperty property)
Deprecated.
Since 1.9, use the constructor that takes 'defaultImpl'
|
TypeDeserializerBase(JavaType baseType,
TypeIdResolver idRes,
BeanProperty property,
java.lang.Class<?> defaultImpl) |
TypeSerializerBase(TypeIdResolver idRes,
BeanProperty property) |