程序包 | 说明 |
---|---|
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<KeyDeserializers> |
DeserializerFactory.Config.keyDeserializers() |
限定符和类型 | 方法和说明 |
---|---|
void |
Module.SetupContext.addKeyDeserializers(KeyDeserializers s)
Method that module can use to register additional deserializers to use for
handling Map key values (which are separate from value deserializers because
they are always serialized from String values)
|
abstract DeserializerProvider |
DeserializerProvider.withAdditionalKeyDeserializers(KeyDeserializers d) |
DeserializerFactory |
DeserializerFactory.withAdditionalKeyDeserializers(KeyDeserializers additional)
Convenience method for creating a new factory instance with additional
KeyDeserializers . |
abstract DeserializerFactory.Config |
DeserializerFactory.Config.withAdditionalKeyDeserializers(KeyDeserializers additional)
Fluent/factory method used to construct a configuration object that
has same key deserializer providers as this instance, plus one specified
as argument.
|
限定符和类型 | 字段和说明 |
---|---|
protected KeyDeserializers[] |
BeanDeserializerFactory.ConfigImpl._additionalKeyDeserializers
List of providers for additional key deserializers, checked before considering
standard key deserializers.
|
protected static KeyDeserializers[] |
BeanDeserializerFactory.ConfigImpl.NO_KEY_DESERIALIZERS |
限定符和类型 | 方法和说明 |
---|---|
Iterable<KeyDeserializers> |
BeanDeserializerFactory.ConfigImpl.keyDeserializers() |
限定符和类型 | 方法和说明 |
---|---|
DeserializerProvider |
StdDeserializerProvider.withAdditionalKeyDeserializers(KeyDeserializers d) |
DeserializerFactory.Config |
BeanDeserializerFactory.ConfigImpl.withAdditionalKeyDeserializers(KeyDeserializers 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 |
SimpleKeyDeserializers
Simple implementation
KeyDeserializers which allows registration of
deserializers based on raw (type erased class). |