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.deser.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
org.codehaus.jackson.map.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
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 ValueInstantiator |
DeserializerFactory.findValueInstantiator(DeserializationConfig config,
BasicBeanDescription beanDesc)
Method that is to find all creators (constructors, factory methods)
for the bean type to deserialize.
|
ValueInstantiator |
DeserializationConfig.valueInstantiatorInstance(Annotated annotated,
java.lang.Class<? extends ValueInstantiator> instClass) |
ValueInstantiator |
HandlerInstantiator.valueInstantiatorInstance(MapperConfig<?> config,
Annotated annotated,
java.lang.Class<? extends ValueInstantiator> resolverClass)
Method called to construct an instance of ValueInstantiator of specified type.
|
Modifier and Type | Method and Description |
---|---|
ValueInstantiator |
DeserializationConfig.valueInstantiatorInstance(Annotated annotated,
java.lang.Class<? extends ValueInstantiator> instClass) |
ValueInstantiator |
HandlerInstantiator.valueInstantiatorInstance(MapperConfig<?> config,
Annotated annotated,
java.lang.Class<? extends ValueInstantiator> resolverClass)
Method called to construct an instance of ValueInstantiator of specified type.
|
Modifier and Type | Field and Description |
---|---|
protected ValueInstantiator |
BeanDeserializer._valueInstantiator
Object that handles details of constructing initial
bean value (to which bind data to), unless instance
is passed (via updateValue())
|
protected ValueInstantiator |
BeanDeserializerBuilder._valueInstantiator
Object that will handle value instantiation for the bean type.
|
Modifier and Type | Method and Description |
---|---|
protected ValueInstantiator |
BeanDeserializerFactory.constructDefaultValueInstantiator(DeserializationConfig config,
BasicBeanDescription beanDesc)
Method that will construct standard default
ValueInstantiator
using annotations (like @JsonCreator) and visibility rules |
abstract ValueInstantiator |
BasicDeserializerFactory.findValueInstantiator(DeserializationConfig config,
BasicBeanDescription beanDesc) |
ValueInstantiator |
BeanDeserializerFactory.findValueInstantiator(DeserializationConfig config,
BasicBeanDescription beanDesc)
Value instantiator is created both based on creator annotations,
and on optional externally provided instantiators (registered through
module interface).
|
ValueInstantiator |
ValueInstantiators.findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc,
ValueInstantiator defaultInstantiator)
Method called to find the
ValueInstantiator to use for creating
instances of specified type during deserialization. |
ValueInstantiator |
ValueInstantiators.Base.findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc,
ValueInstantiator defaultInstantiator) |
ValueInstantiator |
BeanDeserializer.getValueInstantiator() |
ValueInstantiator |
BeanDeserializerBuilder.getValueInstantiator() |
Modifier and Type | Method and Description |
---|---|
ValueInstantiator |
ValueInstantiators.findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc,
ValueInstantiator defaultInstantiator)
Method called to find the
ValueInstantiator to use for creating
instances of specified type during deserialization. |
ValueInstantiator |
ValueInstantiators.Base.findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc,
ValueInstantiator defaultInstantiator) |
void |
BeanDeserializerBuilder.setValueInstantiator(ValueInstantiator inst) |
Constructor and Description |
---|
BeanDeserializer(AnnotatedClass forClass,
JavaType type,
BeanProperty property,
ValueInstantiator valueInstantiator,
BeanPropertyMap properties,
java.util.Map<java.lang.String,SettableBeanProperty> backRefs,
java.util.HashSet<java.lang.String> ignorableProps,
boolean ignoreAllUnknown,
SettableAnyProperty anySetter,
java.util.List<ValueInjector> injectables) |
BeanDeserializer(BeanDescription beanDesc,
BeanProperty property,
ValueInstantiator valueInstantiator,
BeanPropertyMap properties,
java.util.Map<java.lang.String,SettableBeanProperty> backRefs,
java.util.HashSet<java.lang.String> ignorableProps,
boolean ignoreAllUnknown,
SettableAnyProperty anySetter,
java.util.List<ValueInjector> injectables) |
CollectionDeserializer(JavaType collectionType,
JsonDeserializer<java.lang.Object> valueDeser,
TypeDeserializer valueTypeDeser,
ValueInstantiator valueInstantiator)
Deprecated.
|
MapDeserializer(JavaType mapType,
ValueInstantiator valueInstantiator,
KeyDeserializer keyDeser,
JsonDeserializer<java.lang.Object> valueDeser,
TypeDeserializer valueTypeDeser)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected ValueInstantiator |
PropertyBasedCreator._valueInstantiator |
Modifier and Type | Method and Description |
---|---|
ValueInstantiator |
CreatorCollector.constructValueInstantiator(DeserializationConfig config) |
Constructor and Description |
---|
PropertyBasedCreator(ValueInstantiator valueInstantiator) |
Modifier and Type | Class and Description |
---|---|
class |
StdValueInstantiator
Basic
ValueInstantiator implementation, which only
supports use of default constructor. |
Modifier and Type | Field and Description |
---|---|
protected ValueInstantiator |
CollectionDeserializer._valueInstantiator |
protected ValueInstantiator |
StringCollectionDeserializer._valueInstantiator |
protected ValueInstantiator |
MapDeserializer._valueInstantiator |
Constructor and Description |
---|
CollectionDeserializer(JavaType collectionType,
JsonDeserializer<java.lang.Object> valueDeser,
TypeDeserializer valueTypeDeser,
ValueInstantiator valueInstantiator) |
MapDeserializer(JavaType mapType,
ValueInstantiator valueInstantiator,
KeyDeserializer keyDeser,
JsonDeserializer<java.lang.Object> valueDeser,
TypeDeserializer valueTypeDeser) |
StringCollectionDeserializer(JavaType collectionType,
JsonDeserializer<?> valueDeser,
ValueInstantiator valueInstantiator) |
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<ClassKey,ValueInstantiator> |
SimpleValueInstantiators._classMappings
Mappings from raw (type-erased, i.e. non-generic) types
to matching
ValueInstantiator instances. |
Modifier and Type | Method and Description |
---|---|
ValueInstantiator |
SimpleValueInstantiators.findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc,
ValueInstantiator defaultInstantiator) |
Modifier and Type | Method and Description |
---|---|
SimpleModule |
SimpleModule.addValueInstantiator(java.lang.Class<?> beanType,
ValueInstantiator inst)
Method for registering
ValueInstantiator to use when deserializing
instances of type beanType . |
SimpleValueInstantiators |
SimpleValueInstantiators.addValueInstantiator(java.lang.Class<?> forType,
ValueInstantiator inst) |
ValueInstantiator |
SimpleValueInstantiators.findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc,
ValueInstantiator defaultInstantiator) |