Package | Description |
---|---|
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
|
Modifier and Type | Class and Description |
---|---|
static class |
KeyDeserializer.None
This marker class is only to be used with annotations, to
indicate that no deserializer is configured.
|
Modifier and Type | Method and Description |
---|---|
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,
java.lang.Class<? extends KeyDeserializer> keyDeserClass) |
abstract KeyDeserializer |
HandlerInstantiator.keyDeserializerInstance(DeserializationConfig config,
Annotated annotated,
java.lang.Class<? extends KeyDeserializer> keyDeserClass)
Method called to get an instance of key deserializer of specified type.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Class<? extends KeyDeserializer> |
AnnotationIntrospector.findKeyDeserializer(Annotated am)
Method for getting a deserializer definition for keys of
associated
Map property. |
java.lang.Class<? extends KeyDeserializer> |
AnnotationIntrospector.Pair.findKeyDeserializer(Annotated am) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
KeyDeserializer |
DeserializationConfig.keyDeserializerInstance(Annotated annotated,
java.lang.Class<? extends KeyDeserializer> keyDeserClass) |
abstract KeyDeserializer |
HandlerInstantiator.keyDeserializerInstance(DeserializationConfig config,
Annotated annotated,
java.lang.Class<? extends KeyDeserializer> keyDeserClass)
Method called to get an instance of key deserializer of specified type.
|
Modifier and Type | Method and Description |
---|---|
protected KeyDeserializer |
StdDeserializerProvider._handleUnknownKeyDeserializer(JavaType type) |
KeyDeserializer |
BeanDeserializerFactory.createKeyDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property) |
KeyDeserializer |
StdDeserializerProvider.findKeyDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property) |
Constructor and Description |
---|
MapDeserializer(JavaType mapType,
java.lang.reflect.Constructor<java.util.Map<java.lang.Object,java.lang.Object>> defCtor,
KeyDeserializer keyDeser,
JsonDeserializer<java.lang.Object> valueDeser,
TypeDeserializer valueTypeDeser)
Deprecated.
Since 1.9, use variant that takes ValueInstantiator
|
MapDeserializer(JavaType mapType,
ValueInstantiator valueInstantiator,
KeyDeserializer keyDeser,
JsonDeserializer<java.lang.Object> valueDeser,
TypeDeserializer valueTypeDeser)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
StdKeyDeserializer
Base class for simple key deserializers.
|
Modifier and Type | Field and Description |
---|---|
protected KeyDeserializer |
MapDeserializer._keyDeserializer
Key deserializer used, if not null.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<JavaType,KeyDeserializer> |
StdKeyDeserializers._keyDeserializers |
Modifier and Type | Method and Description |
---|---|
static KeyDeserializer |
StdKeyDeserializers.constructEnumKeyDeserializer(DeserializationConfig config,
JavaType type) |
static KeyDeserializer |
StdKeyDeserializers.findStringBasedKeyDeserializer(DeserializationConfig config,
JavaType type) |
Modifier and Type | Method and Description |
---|---|
static java.util.HashMap<JavaType,KeyDeserializer> |
StdKeyDeserializers.constructAll() |
Constructor and Description |
---|
MapDeserializer(JavaType mapType,
java.lang.reflect.Constructor<java.util.Map<java.lang.Object,java.lang.Object>> defCtor,
KeyDeserializer keyDeser,
JsonDeserializer<java.lang.Object> valueDeser,
TypeDeserializer valueTypeDeser)
Deprecated.
Since 1.9, use variant that takes ValueInstantiator
|
MapDeserializer(JavaType mapType,
ValueInstantiator valueInstantiator,
KeyDeserializer keyDeser,
JsonDeserializer<java.lang.Object> valueDeser,
TypeDeserializer valueTypeDeser) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends KeyDeserializer> |
JacksonAnnotationIntrospector.findKeyDeserializer(Annotated a) |
java.lang.Class<KeyDeserializer> |
NopAnnotationIntrospector.findKeyDeserializer(Annotated am) |
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<ClassKey,KeyDeserializer> |
SimpleKeyDeserializers._classMappings |
Modifier and Type | Method and Description |
---|---|
KeyDeserializer |
SimpleKeyDeserializers.findKeyDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc,
BeanProperty property) |
Modifier and Type | Method and Description |
---|---|
SimpleKeyDeserializers |
SimpleKeyDeserializers.addDeserializer(java.lang.Class<?> forClass,
KeyDeserializer deser) |
SimpleModule |
SimpleModule.addKeyDeserializer(java.lang.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) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<KeyDeserializer> |
JaxbAnnotationIntrospector.findKeyDeserializer(Annotated am) |