程序包 | 说明 |
---|---|
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) . |
限定符和类型 | 方法和说明 |
---|---|
abstract Iterable<ValueInstantiators> |
DeserializerFactory.Config.valueInstantiators() |
限定符和类型 | 方法和说明 |
---|---|
void |
Module.SetupContext.addValueInstantiators(ValueInstantiators instantiators)
Method that module can use to register additional
ValueInstantiator s,
by adding ValueInstantiators object that gets called when
instantatiator is needed by a deserializer. |
abstract DeserializerProvider |
DeserializerProvider.withValueInstantiators(ValueInstantiators instantiators)
Method that will construct a new instance with specified additional value instantiators
(i.e. does NOT replace existing ones)
|
DeserializerFactory |
DeserializerFactory.withValueInstantiators(ValueInstantiators instantiators)
Convenience method for creating a new factory instance with additional
ValueInstantiators . |
abstract DeserializerFactory.Config |
DeserializerFactory.Config.withValueInstantiators(ValueInstantiators instantiators)
Fluent/factory method used to construct a configuration object that
has same configuration as this instance plus specified additional
value instantiator provider object.
|
限定符和类型 | 类和说明 |
---|---|
static class |
ValueInstantiators.Base
Basic "NOP" implementation that can be used as the base class for custom implementations.
|
限定符和类型 | 字段和说明 |
---|---|
protected ValueInstantiators[] |
BeanDeserializerFactory.ConfigImpl._valueInstantiators
List of objects that know how to create instances of POJO types;
possibly using custom construction (non-annoted constructors; factory
methods external to value type etc).
|
protected static ValueInstantiators[] |
BeanDeserializerFactory.ConfigImpl.NO_VALUE_INSTANTIATORS |
限定符和类型 | 方法和说明 |
---|---|
Iterable<ValueInstantiators> |
BeanDeserializerFactory.ConfigImpl.valueInstantiators() |
限定符和类型 | 方法和说明 |
---|---|
DeserializerProvider |
StdDeserializerProvider.withValueInstantiators(ValueInstantiators instantiators) |
DeserializerFactory.Config |
BeanDeserializerFactory.ConfigImpl.withValueInstantiators(ValueInstantiators instantiators) |
构造器和说明 |
---|
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.
|
限定符和类型 | 类和说明 |
---|---|
class |
SimpleValueInstantiators |