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.deser |
Contains implementation classes of deserialization part of
data binding.
|
org.codehaus.jackson.map.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.registerModule(org.codehaus.jackson.map.Module) . |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Iterable<AbstractTypeResolver> |
DeserializerFactory.Config.abstractTypeResolvers() |
Modifier and Type | Method and Description |
---|---|
void |
Module.SetupContext.addAbstractTypeResolver(AbstractTypeResolver resolver)
Method that module can use to register additional
AbstractTypeResolver instance, to handle resolution of
abstract to concrete types (either by defaulting, or by materializing). |
abstract DeserializerProvider |
DeserializerProvider.withAbstractTypeResolver(AbstractTypeResolver resolver) |
DeserializerFactory |
DeserializerFactory.withAbstractTypeResolver(AbstractTypeResolver resolver)
Convenience method for creating a new factory instance with additional
AbstractTypeResolver . |
abstract DeserializerFactory.Config |
DeserializerFactory.Config.withAbstractTypeResolver(AbstractTypeResolver resolver)
Fluent/factory method used to construct a configuration object that
has same configuration as this instance plus one additional
abstract type resolver.
|
Modifier and Type | Field and Description |
---|---|
protected AbstractTypeResolver[] |
BeanDeserializerFactory.ConfigImpl._abstractTypeResolvers
List of objects that may be able to resolve abstract types to
concrete types.
|
protected static AbstractTypeResolver[] |
BeanDeserializerFactory.ConfigImpl.NO_ABSTRACT_TYPE_RESOLVERS |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<AbstractTypeResolver> |
BeanDeserializerFactory.ConfigImpl.abstractTypeResolvers() |
Modifier and Type | Method and Description |
---|---|
DeserializerProvider |
StdDeserializerProvider.withAbstractTypeResolver(AbstractTypeResolver resolver) |
DeserializerFactory.Config |
BeanDeserializerFactory.ConfigImpl.withAbstractTypeResolver(AbstractTypeResolver resolver) |
Constructor and Description |
---|
BeanDeserializerFactory.ConfigImpl(Deserializers[] allAdditionalDeserializers,
KeyDeserializers[] allAdditionalKeyDeserializers,
BeanDeserializerModifier[] modifiers,
AbstractTypeResolver[] atr,
ValueInstantiators[] vi)
Copy-constructor that will create an instance that contains defined
set of additional deserializer providers.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleAbstractTypeResolver
Simple
AbstractTypeResolver implementation, which is
based on static mapping from abstract super types into
sub types (concrete or abstract), but retaining generic
parameterization. |