程序包 | 说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
DeserializerFactory |
DeserializerFactory.withAbstractTypeResolver(AbstractTypeResolver resolver)
Convenience method for creating a new factory instance with additional
AbstractTypeResolver . |
DeserializerFactory |
DeserializerFactory.withAdditionalDeserializers(Deserializers additional)
Convenience method for creating a new factory instance with additional deserializer
provider.
|
DeserializerFactory |
DeserializerFactory.withAdditionalKeyDeserializers(KeyDeserializers additional)
Convenience method for creating a new factory instance with additional
KeyDeserializers . |
abstract DeserializerFactory |
DeserializerFactory.withConfig(DeserializerFactory.Config config)
Method used for creating a new instance of this factory, but with different
configuration.
|
DeserializerFactory |
DeserializerFactory.withDeserializerModifier(BeanDeserializerModifier modifier)
Convenience method for creating a new factory instance with additional
BeanDeserializerModifier . |
DeserializerFactory |
DeserializerFactory.withValueInstantiators(ValueInstantiators instantiators)
Convenience method for creating a new factory instance with additional
ValueInstantiators . |
限定符和类型 | 方法和说明 |
---|---|
abstract DeserializerProvider |
DeserializerProvider.withFactory(DeserializerFactory factory)
Method that sub-classes need to override, to ensure that fluent-factory
methods will produce proper sub-type.
|
限定符和类型 | 类和说明 |
---|---|
class |
BasicDeserializerFactory
Abstract factory base class that can provide deserializers for standard
JDK classes, including collection classes and simple heuristics for
"upcasting" commmon collection interface types
(such as
Collection ). |
class |
BeanDeserializerFactory
Concrete deserializer factory class that adds full Bean deserializer
construction logic using class introspection.
|
class |
CustomDeserializerFactory
已过时。
Starting with 1.7, functionality of this class has been
implemented both in base
SerializerFactory (see methods
like SerializerFactory.withAdditionalSerializers(Serializers) )
and through new Module API. As such, this class is not the best way
to add custom functionality, and will likely be removed from 2.0 release |
限定符和类型 | 字段和说明 |
---|---|
protected DeserializerFactory |
StdDeserializerProvider._factory
Factory responsible for constructing actual deserializers, if not
one of pre-configured types.
|
限定符和类型 | 方法和说明 |
---|---|
DeserializerFactory |
CustomDeserializerFactory.withConfig(DeserializerFactory.Config config)
已过时。
|
DeserializerFactory |
BeanDeserializerFactory.withConfig(DeserializerFactory.Config config)
Method used by module registration functionality, to construct a new bean
deserializer factory
with different configuration settings.
|
abstract DeserializerFactory |
BasicDeserializerFactory.withConfig(DeserializerFactory.Config config) |
限定符和类型 | 方法和说明 |
---|---|
StdDeserializerProvider |
StdDeserializerProvider.withFactory(DeserializerFactory factory) |
构造器和说明 |
---|
StdDeserializerProvider(DeserializerFactory f) |