程序包 | 说明 |
---|---|
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.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
org.codehaus.jackson.map.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
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) . |
org.codehaus.jackson.xc |
Package that contains XML Compatibility functionality for Jackson, such
as handlers for JAXB annotations
|
限定符和类型 | 类和说明 |
---|---|
static class |
KeyDeserializer.None
This marker class is only to be used with annotations, to
indicate that no deserializer is configured.
|
限定符和类型 | 方法和说明 |
---|---|
KeyDeserializer |
ContextualKeyDeserializer.createContextual(DeserializationConfig config,
BeanProperty property)
Method called to see if a different (or differently configured) key deserializer
is needed to deserialize keys of specified Map property.
|
KeyDeserializer |
DeserializerFactory.createKeyDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property)
Method called to find if factory knows how to create a key deserializer
for specified type; currently this means checking if a module has registered
possible deserializers.
|
abstract KeyDeserializer |
DeserializerProvider.findKeyDeserializer(DeserializationConfig config,
JavaType keyType,
BeanProperty property)
Method called to get hold of a deserializer to use for deserializing
keys for
Map . |
KeyDeserializer |
KeyDeserializers.findKeyDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc,
BeanProperty property) |
KeyDeserializer |
DeserializationConfig.keyDeserializerInstance(Annotated annotated,
Class<? extends KeyDeserializer> keyDeserClass) |
abstract KeyDeserializer |
HandlerInstantiator.keyDeserializerInstance(DeserializationConfig config,
Annotated annotated,
Class<? extends KeyDeserializer> keyDeserClass)
Method called to get an instance of key deserializer of specified type.
|
限定符和类型 | 方法和说明 |
---|---|
abstract Class<? extends KeyDeserializer> |
AnnotationIntrospector.findKeyDeserializer(Annotated am)
Method for getting a deserializer definition for keys of
associated
Map property. |
Class<? extends KeyDeserializer> |
AnnotationIntrospector.Pair.findKeyDeserializer(Annotated am) |
限定符和类型 | 方法和说明 |
---|---|
JsonDeserializer<?> |
Deserializers.findMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate deserializer for specified
Map type. |
JsonDeserializer<?> |
Deserializers.Base.findMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified
"Map-like" type (one that acts
like
Map but does not implement it). |
JsonDeserializer<?> |
Deserializers.Base.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
限定符和类型 | 方法和说明 |
---|---|
KeyDeserializer |
DeserializationConfig.keyDeserializerInstance(Annotated annotated,
Class<? extends KeyDeserializer> keyDeserClass) |
abstract KeyDeserializer |
HandlerInstantiator.keyDeserializerInstance(DeserializationConfig config,
Annotated annotated,
Class<? extends KeyDeserializer> keyDeserClass)
Method called to get an instance of key deserializer of specified type.
|
限定符和类型 | 方法和说明 |
---|---|
protected KeyDeserializer |
StdDeserializerProvider._handleUnknownKeyDeserializer(JavaType type) |
KeyDeserializer |
BeanDeserializerFactory.createKeyDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property) |
KeyDeserializer |
StdDeserializerProvider.findKeyDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property) |
构造器和说明 |
---|
MapDeserializer(JavaType mapType,
Constructor<Map<Object,Object>> defCtor,
KeyDeserializer keyDeser,
JsonDeserializer<Object> valueDeser,
TypeDeserializer valueTypeDeser)
已过时。
Since 1.9, use variant that takes ValueInstantiator
|
MapDeserializer(JavaType mapType,
ValueInstantiator valueInstantiator,
KeyDeserializer keyDeser,
JsonDeserializer<Object> valueDeser,
TypeDeserializer valueTypeDeser)
已过时。
|
限定符和类型 | 类和说明 |
---|---|
class |
StdKeyDeserializer
Base class for simple key deserializers.
|
限定符和类型 | 字段和说明 |
---|---|
protected KeyDeserializer |
MapDeserializer._keyDeserializer
Key deserializer used, if not null.
|
限定符和类型 | 字段和说明 |
---|---|
protected HashMap<JavaType,KeyDeserializer> |
StdKeyDeserializers._keyDeserializers |
限定符和类型 | 方法和说明 |
---|---|
static KeyDeserializer |
StdKeyDeserializers.constructEnumKeyDeserializer(EnumResolver<?> enumResolver) |
static KeyDeserializer |
StdKeyDeserializers.constructEnumKeyDeserializer(EnumResolver<?> enumResolver,
AnnotatedMethod factory) |
static KeyDeserializer |
StdKeyDeserializers.constructStringKeyDeserializer(DeserializationConfig config,
JavaType type) |
static KeyDeserializer |
StdKeyDeserializers.findStringBasedKeyDeserializer(DeserializationConfig config,
JavaType type) |
限定符和类型 | 方法和说明 |
---|---|
static HashMap<JavaType,KeyDeserializer> |
StdKeyDeserializers.constructAll() |
构造器和说明 |
---|
MapDeserializer(JavaType mapType,
Constructor<Map<Object,Object>> defCtor,
KeyDeserializer keyDeser,
JsonDeserializer<Object> valueDeser,
TypeDeserializer valueTypeDeser)
已过时。
Since 1.9, use variant that takes ValueInstantiator
|
MapDeserializer(JavaType mapType,
ValueInstantiator valueInstantiator,
KeyDeserializer keyDeser,
JsonDeserializer<Object> valueDeser,
TypeDeserializer valueTypeDeser) |
限定符和类型 | 方法和说明 |
---|---|
Class<KeyDeserializer> |
NopAnnotationIntrospector.findKeyDeserializer(Annotated am) |
Class<? extends KeyDeserializer> |
JacksonAnnotationIntrospector.findKeyDeserializer(Annotated a) |
限定符和类型 | 字段和说明 |
---|---|
protected HashMap<ClassKey,KeyDeserializer> |
SimpleKeyDeserializers._classMappings |
限定符和类型 | 方法和说明 |
---|---|
KeyDeserializer |
SimpleKeyDeserializers.findKeyDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc,
BeanProperty property) |
限定符和类型 | 方法和说明 |
---|---|
SimpleKeyDeserializers |
SimpleKeyDeserializers.addDeserializer(Class<?> forClass,
KeyDeserializer deser) |
SimpleModule |
SimpleModule.addKeyDeserializer(Class<?> type,
KeyDeserializer deser) |
JsonDeserializer<?> |
SimpleDeserializers.findMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
SimpleDeserializers.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
限定符和类型 | 方法和说明 |
---|---|
Class<KeyDeserializer> |
JaxbAnnotationIntrospector.findKeyDeserializer(Annotated am) |