Package | Description |
---|---|
com.fasterxml.jackson.databind |
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 |
com.fasterxml.jackson.databind.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
com.fasterxml.jackson.databind.deser |
Contains implementation classes of deserialization part of
data binding.
|
com.fasterxml.jackson.databind.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
com.fasterxml.jackson.databind.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
com.fasterxml.jackson.databind.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.registerModule(com.fasterxml.jackson.databind.Module) . |
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 |
DeserializationContext.findKeyDeserializer(JavaType keyType,
BeanProperty property)
Convenience method, functionally same as:
|
abstract KeyDeserializer |
DeserializationContext.keyDeserializerInstance(Annotated annotated,
Object deserDef) |
Modifier and Type | Method and Description |
---|---|
abstract KeyDeserializer |
HandlerInstantiator.keyDeserializerInstance(DeserializationConfig config,
Annotated annotated,
Class<?> keyDeserClass)
Method called to get an instance of key deserializer of specified type.
|
Modifier and Type | Method and Description |
---|---|
protected KeyDeserializer |
DeserializerCache._handleUnknownKeyDeserializer(JavaType type) |
KeyDeserializer |
ContextualKeyDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to see if a different (or differently configured) key deserializer
is needed to deserialize keys of specified Map property.
|
abstract KeyDeserializer |
DeserializerFactory.createKeyDeserializer(DeserializationContext ctxt,
JavaType type)
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.
|
KeyDeserializer |
BasicDeserializerFactory.createKeyDeserializer(DeserializationContext ctxt,
JavaType type) |
KeyDeserializer |
DeserializerCache.findKeyDeserializer(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type)
Method called to get hold of a deserializer to use for deserializing
keys for
Map . |
KeyDeserializer |
KeyDeserializers.findKeyDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
KeyDeserializer |
DefaultDeserializationContext.keyDeserializerInstance(Annotated annotated,
Object deserDef) |
KeyDeserializer |
BeanDeserializerModifier.modifyKeyDeserializer(DeserializationConfig config,
JavaType type,
KeyDeserializer deserializer)
Method called by
DeserializerFactory after it has constructed the
standard key deserializer for given key type. |
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomMapDeserializer(MapType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findMapDeserializer(MapType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate deserializer for specified
Map type. |
JsonDeserializer<?> |
Deserializers.Base.findMapDeserializer(MapType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
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,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
KeyDeserializer |
BeanDeserializerModifier.modifyKeyDeserializer(DeserializationConfig config,
JavaType type,
KeyDeserializer deserializer)
Method called by
DeserializerFactory after it has constructed the
standard key deserializer for given key type. |
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 to use; either passed via constructor
(when indicated by annotations), or resolved when
MapDeserializer.resolve(com.fasterxml.jackson.databind.DeserializationContext) is called; |
Modifier and Type | Method and Description |
---|---|
static KeyDeserializer |
StdKeyDeserializers.constructDelegatingKeyDeserializer(DeserializationConfig config,
JavaType type,
JsonDeserializer<?> deser) |
static KeyDeserializer |
StdKeyDeserializers.constructEnumKeyDeserializer(EnumResolver<?> enumResolver) |
static KeyDeserializer |
StdKeyDeserializers.constructEnumKeyDeserializer(EnumResolver<?> enumResolver,
AnnotatedMethod factory) |
static KeyDeserializer |
StdKeyDeserializers.constructStringKeyDeserializer(DeserializationConfig config,
JavaType type)
Deprecated.
Since 2.2, just call
StdKeyDeserializer.StringKD directly |
KeyDeserializer |
StdKeyDeserializers.findKeyDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
static KeyDeserializer |
StdKeyDeserializers.findStringBasedKeyDeserializer(DeserializationConfig config,
JavaType type) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
MapDeserializer._isStdKeyDeser(JavaType mapType,
KeyDeserializer keyDeser)
Helper method used to check whether we can just use the default key
deserialization, where JSON String becomes Java String.
|
protected boolean |
StdDeserializer.isDefaultKeyDeserializer(KeyDeserializer keyDeser) |
protected MapDeserializer |
MapDeserializer.withResolved(KeyDeserializer keyDeser,
TypeDeserializer valueTypeDeser,
JsonDeserializer<?> valueDeser,
HashSet<String> ignorable)
Fluent factory method used to create a copy with slightly
different settings.
|
Constructor and Description |
---|
MapDeserializer(JavaType mapType,
ValueInstantiator valueInstantiator,
KeyDeserializer keyDeser,
JsonDeserializer<Object> valueDeser,
TypeDeserializer valueTypeDeser) |
MapDeserializer(MapDeserializer src,
KeyDeserializer keyDeser,
JsonDeserializer<Object> valueDeser,
TypeDeserializer valueTypeDeser,
HashSet<String> ignorable) |
Modifier and Type | Method and Description |
---|---|
Class<? extends KeyDeserializer> |
JacksonAnnotationIntrospector.findKeyDeserializer(Annotated a) |
Modifier and Type | Field and Description |
---|---|
protected HashMap<ClassKey,KeyDeserializer> |
SimpleKeyDeserializers._classMappings |
Modifier and Type | Method and Description |
---|---|
KeyDeserializer |
SimpleKeyDeserializers.findKeyDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
Modifier and Type | Method and Description |
---|---|
SimpleKeyDeserializers |
SimpleKeyDeserializers.addDeserializer(Class<?> forClass,
KeyDeserializer deser) |
SimpleModule |
SimpleModule.addKeyDeserializer(Class<?> type,
KeyDeserializer deser) |
JsonDeserializer<?> |
SimpleDeserializers.findMapDeserializer(MapType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
SimpleDeserializers.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
Copyright © 2012-2013 FasterXML. All Rights Reserved.