程序包 | 说明 |
---|---|
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) . |
限定符和类型 | 类和说明 |
---|---|
static class |
Deserializers.Base
Basic
Deserializers implementation that implements all methods but provides
no deserializers. |
static class |
Deserializers.None
已过时。
As of 1.9, use
Deserializers.Base instead |
限定符和类型 | 字段和说明 |
---|---|
protected static Deserializers[] |
DeserializerFactory.NO_DESERIALIZERS |
限定符和类型 | 方法和说明 |
---|---|
abstract Iterable<Deserializers> |
DeserializerFactory.Config.deserializers() |
限定符和类型 | 方法和说明 |
---|---|
void |
Module.SetupContext.addDeserializers(Deserializers d)
Method that module can use to register additional deserializers to use for
handling types.
|
abstract DeserializerProvider |
DeserializerProvider.withAdditionalDeserializers(Deserializers d)
Method that is to configure
DeserializerFactory that provider has
to use specified deserializer provider, with highest precedence (that is,
additional providers have higher precedence than default one or previously
added ones) |
DeserializerFactory |
DeserializerFactory.withAdditionalDeserializers(Deserializers additional)
Convenience method for creating a new factory instance with additional deserializer
provider.
|
abstract DeserializerFactory.Config |
DeserializerFactory.Config.withAdditionalDeserializers(Deserializers additional)
Fluent/factory method used to construct a configuration object that
has same deserializer providers as this instance, plus one specified
as argument.
|
限定符和类型 | 字段和说明 |
---|---|
protected Deserializers[] |
BeanDeserializerFactory.ConfigImpl._additionalDeserializers
List of providers for additional deserializers, checked before considering default
basic or bean deserializers.
|
限定符和类型 | 方法和说明 |
---|---|
Iterable<Deserializers> |
BeanDeserializerFactory.ConfigImpl.deserializers() |
限定符和类型 | 方法和说明 |
---|---|
DeserializerProvider |
StdDeserializerProvider.withAdditionalDeserializers(Deserializers d) |
DeserializerFactory.Config |
BeanDeserializerFactory.ConfigImpl.withAdditionalDeserializers(Deserializers additional) |
构造器和说明 |
---|
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 |
SimpleDeserializers
Simple implementation
Deserializers which allows registration of
deserializers based on raw (type erased class). |