程序包 | 说明 |
---|---|
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.
|
限定符和类型 | 类和说明 |
---|---|
static class |
InjectableValues.Std
Simple standard implementation which uses a simple Map to
store values to inject, identified by simple String keys.
|
限定符和类型 | 字段和说明 |
---|---|
protected InjectableValues |
ObjectReader._injectableValues
Values that can be injected during deserialization, if any.
|
protected InjectableValues |
ObjectMapper._injectableValues
Provider for values to inject in deserialized POJOs.
|
限定符和类型 | 方法和说明 |
---|---|
ObjectReader |
ObjectMapper.reader(InjectableValues injectableValues)
Factory method for constructing
ObjectReader that will
use specified injectable values. |
ObjectMapper |
ObjectMapper.setInjectableValues(InjectableValues injectableValues) |
ObjectReader |
ObjectReader.withInjectableValues(InjectableValues injectableValues)
Method for constructing a new instance with configuration that uses
passed
InjectableValues to provide injectable values. |
构造器和说明 |
---|
ObjectReader(ObjectMapper mapper,
DeserializationConfig config,
JavaType valueType,
Object valueToUpdate,
FormatSchema schema,
InjectableValues injectableValues) |
ObjectReader(ObjectReader base,
DeserializationConfig config,
JavaType valueType,
Object valueToUpdate,
FormatSchema schema,
InjectableValues injectableValues)
Copy constructor used for building variations.
|
限定符和类型 | 字段和说明 |
---|---|
protected InjectableValues |
StdDeserializationContext._injectableValues |
构造器和说明 |
---|
StdDeserializationContext(DeserializationConfig config,
JsonParser jp,
DeserializerProvider prov,
InjectableValues injectableValues) |