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.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
com.fasterxml.jackson.databind.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
com.fasterxml.jackson.databind.ext |
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
|
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.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
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 |
JsonDeserializer.None
This marker class is only to be used with annotations, to
indicate that no deserializer is configured.
|
Modifier and Type | Field and Description |
---|---|
protected JsonDeserializer<T> |
MappingIterator._deserializer |
protected JsonDeserializer<Object> |
ObjectReader._rootDeserializer
We may pre-fetch deserializer as soon as
ObjectReader._valueType
is known, and if so, reuse it afterwards. |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<JavaType,JsonDeserializer<Object>> |
ObjectReader._rootDeserializers
Root-level cached deserializers
|
protected ConcurrentHashMap<JavaType,JsonDeserializer<Object>> |
ObjectMapper._rootDeserializers
We will use a separate main-level Map for keeping track
of root-level deserializers.
|
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<Object> |
ObjectReader._findRootDeserializer(DeserializationContext ctxt,
JavaType valueType)
Method called to locate deserializer for the passed root-level value.
|
protected JsonDeserializer<Object> |
ObjectMapper._findRootDeserializer(DeserializationContext ctxt,
JavaType valueType)
Method called to locate deserializer for the passed root-level value.
|
protected JsonDeserializer<Object> |
ObjectReader._prefetchRootDeserializer(DeserializationConfig config,
JavaType valueType)
Method called to locate deserializer ahead of time, if permitted
by configuration.
|
abstract JsonDeserializer<Object> |
DeserializationContext.deserializerInstance(Annotated annotated,
Object deserDef) |
JsonDeserializer<Object> |
DeserializationContext.findContextualValueDeserializer(JavaType type,
BeanProperty property)
Method for finding a value deserializer, and creating a contextual
version if necessary, for value reached via specified property.
|
JsonDeserializer<Object> |
DeserializationContext.findRootValueDeserializer(JavaType type)
Method for finding a deserializer for root-level value.
|
JsonDeserializer<?> |
JsonDeserializer.getDelegatee()
Accessor that can be used to determine if this deserializer uses
another deserializer for actual deserialization, by delegating
calls.
|
JsonDeserializer<?> |
JsonDeserializer.replaceDelegatee(JsonDeserializer<?> delegatee)
Method that can be called to try to replace deserializer this deserializer
delegates calls to.
|
JsonDeserializer<T> |
JsonDeserializer.unwrappingDeserializer(NameTransformer unwrapper)
Method that will return deserializer instance that is able
to handle "unwrapped" value instances
If no unwrapped instance can be constructed, will simply
return this object as-is.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
ObjectMapper._unwrapAndDeserialize(JsonParser jp,
DeserializationContext ctxt,
DeserializationConfig config,
JavaType rootType,
JsonDeserializer<Object> deser) |
protected Object |
ObjectReader._unwrapAndDeserialize(JsonParser jp,
DeserializationContext ctxt,
JavaType rootType,
JsonDeserializer<Object> deser) |
boolean |
DeserializationContext.handleUnknownProperty(JsonParser jp,
JsonDeserializer<?> deser,
Object instanceOrClass,
String propName)
Method deserializers can call to inform configured
DeserializationProblemHandler s
of an unrecognized property. |
JsonDeserializer<?> |
JsonDeserializer.replaceDelegatee(JsonDeserializer<?> delegatee)
Method that can be called to try to replace deserializer this deserializer
delegates calls to.
|
void |
DeserializationContext.reportUnknownProperty(Object instanceOrClass,
String fieldName,
JsonDeserializer<?> deser)
Helper method for reporting a problem with unhandled unknown exception
|
Constructor and Description |
---|
MappingIterator(JavaType type,
JsonParser jp,
DeserializationContext ctxt,
JsonDeserializer<?> deser)
Deprecated.
Since 2.1, to be removed
|
MappingIterator(JavaType type,
JsonParser jp,
DeserializationContext ctxt,
JsonDeserializer<?> deser,
boolean managedParser,
Object valueToUpdate) |
ObjectReader(ObjectReader base,
DeserializationConfig config,
JavaType valueType,
JsonDeserializer<Object> rootDeser,
Object valueToUpdate,
FormatSchema schema,
InjectableValues injectableValues,
DataFormatReaders dataFormatReaders)
Copy constructor used for building variations.
|
Modifier and Type | Method and Description |
---|---|
abstract JsonDeserializer<?> |
HandlerInstantiator.deserializerInstance(DeserializationConfig config,
Annotated annotated,
Class<?> deserClass)
Method called to get an instance of deserializer of specified type.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDeserializer
Deserializer only used for abstract types used as placeholders during polymorphic
type handling deserialization.
|
class |
BeanDeserializer
Deserializer class that can deserialize instances of
arbitrary bean objects, usually from JSON Object structs,
but possibly also from simple types like String values.
|
class |
BeanDeserializerBase
Base class for
BeanDeserializer . |
class |
BuilderBasedDeserializer
Class that handles deserialization using a separate
Builder class, which is used for data binding and
produces actual deserialized value at the end
of data binding.
|
Modifier and Type | Field and Description |
---|---|
protected JsonDeserializer<Object> |
BeanDeserializerBase._delegateDeserializer
Deserializer that is used iff delegate-based creator is
to be used for deserializing from JSON Object.
|
protected JsonDeserializer<Object> |
SettableBeanProperty._valueDeserializer
Deserializer used for handling property value.
|
protected JsonDeserializer<Object> |
SettableAnyProperty._valueDeserializer |
protected static JsonDeserializer<Object> |
SettableBeanProperty.MISSING_VALUE_DESERIALIZER
To avoid nasty NPEs, let's use a placeholder for _valueDeserializer,
if real deserializer is not (yet) available.
|
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<JavaType,JsonDeserializer<Object>> |
DeserializerCache._cachedDeserializers
We will also cache some dynamically constructed deserializers;
specifically, ones that are expensive to construct.
|
protected HashMap<JavaType,JsonDeserializer<Object>> |
DeserializerCache._incompleteDeserializers
During deserializer construction process we may need to keep track of partially
completed deserializers, to resolve cyclic dependencies.
|
protected HashMap<ClassKey,JsonDeserializer<Object>> |
BeanDeserializerBase._subDeserializers
Lazily constructed map used to contain deserializers needed
for polymorphic subtypes.
|
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<Object> |
DeserializerCache._createAndCache2(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type)
Method that handles actual construction (via factory) and caching (both
intermediate and eventual)
|
protected JsonDeserializer<Object> |
DeserializerCache._createAndCacheValueDeserializer(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type)
Method that will try to create a deserializer for given type,
and resolve and cache it if necessary
|
protected JsonDeserializer<Object> |
DeserializerCache._createDeserializer(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type)
Method that does the heavy lifting of checking for per-type annotations,
find out full type, and figure out which actual factory method
to call.
|
protected JsonDeserializer<?> |
DeserializerCache._createDeserializer2(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type,
BeanDescription beanDesc) |
protected JsonDeserializer<Object> |
DeserializerCache._findCachedDeserializer(JavaType type) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomArrayDeserializer(ArrayType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<Object> |
BeanDeserializerFactory._findCustomBeanDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomCollectionDeserializer(CollectionType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomEnumDeserializer(Class<?> type,
DeserializationConfig config,
BeanDescription beanDesc) |
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) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomTreeNodeDeserializer(Class<? extends JsonNode> type,
DeserializationConfig config,
BeanDescription beanDesc) |
protected JsonDeserializer<Object> |
BeanDeserializerBase._findSubclassDeserializer(DeserializationContext ctxt,
Object bean,
TokenBuffer unknownTokens)
Helper method called to (try to) locate deserializer for given sub-type of
type that this deserializer handles.
|
protected JsonDeserializer<Object> |
DeserializerCache._handleUnknownValueDeserializer(JavaType type) |
JsonDeserializer<?> |
BeanDeserializerBuilder.build()
Method for constructing a
BeanDeserializer , given all
information collected. |
JsonDeserializer<Object> |
BeanDeserializerFactory.buildBeanDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Method that is to actually build a bean deserializer instance.
|
JsonDeserializer<?> |
BeanDeserializerBuilder.buildBuilderBased(JavaType valueType,
String expBuildMethodName)
Method for constructing a specialized deserializer that uses
additional external Builder object during data binding.
|
protected JsonDeserializer<Object> |
BeanDeserializerFactory.buildBuilderBasedDeserializer(DeserializationContext ctxt,
JavaType valueType,
BeanDescription builderDesc)
Method for constructing a bean deserializer that uses specified
intermediate Builder for binding data, and construction of the
value instance.
|
JsonDeserializer<Object> |
BeanDeserializerFactory.buildThrowableDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc) |
abstract JsonDeserializer<?> |
DeserializerFactory.createArrayDeserializer(DeserializationContext ctxt,
ArrayType type,
BeanDescription beanDesc)
Method called to create (or, for completely immutable deserializers,
reuse) a deserializer that can convert JSON content into values of
specified Java type.
|
JsonDeserializer<?> |
BasicDeserializerFactory.createArrayDeserializer(DeserializationContext ctxt,
ArrayType type,
BeanDescription beanDesc) |
abstract JsonDeserializer<Object> |
DeserializerFactory.createBeanDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Method called to create (or, for completely immutable deserializers,
reuse) a deserializer that can convert JSON content into values of
specified Java "bean" (POJO) type.
|
JsonDeserializer<Object> |
BeanDeserializerFactory.createBeanDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Method that
DeserializerCache s call to create a new
deserializer for types other than Collections, Maps, arrays and
enums. |
abstract JsonDeserializer<Object> |
DeserializerFactory.createBuilderBasedDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc,
Class<?> builderClass)
Method called to create a deserializer that will use specified Builder
class for building value instances.
|
JsonDeserializer<Object> |
BeanDeserializerFactory.createBuilderBasedDeserializer(DeserializationContext ctxt,
JavaType valueType,
BeanDescription beanDesc,
Class<?> builderClass) |
abstract JsonDeserializer<?> |
DeserializerFactory.createCollectionDeserializer(DeserializationContext ctxt,
CollectionType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
BasicDeserializerFactory.createCollectionDeserializer(DeserializationContext ctxt,
CollectionType type,
BeanDescription beanDesc) |
abstract JsonDeserializer<?> |
DeserializerFactory.createCollectionLikeDeserializer(DeserializationContext ctxt,
CollectionLikeType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
BasicDeserializerFactory.createCollectionLikeDeserializer(DeserializationContext ctxt,
CollectionLikeType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
ContextualDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to see if a different (or differently configured) deserializer
is needed to deserialize values of specified property.
|
JsonDeserializer<?> |
BeanDeserializerBase.createContextual(DeserializationContext ctxt,
BeanProperty property)
Although most of post-processing is done in resolve(), we only get
access to referring property's annotations here; and this is needed
to support per-property ObjectIds.
|
abstract JsonDeserializer<?> |
DeserializerFactory.createEnumDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
BasicDeserializerFactory.createEnumDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Factory method for constructing serializers of
Enum types. |
abstract JsonDeserializer<?> |
DeserializerFactory.createMapDeserializer(DeserializationContext ctxt,
MapType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
BasicDeserializerFactory.createMapDeserializer(DeserializationContext ctxt,
MapType type,
BeanDescription beanDesc) |
abstract JsonDeserializer<?> |
DeserializerFactory.createMapLikeDeserializer(DeserializationContext ctxt,
MapLikeType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
BasicDeserializerFactory.createMapLikeDeserializer(DeserializationContext ctxt,
MapLikeType type,
BeanDescription beanDesc) |
abstract JsonDeserializer<?> |
DeserializerFactory.createTreeDeserializer(DeserializationConfig config,
JavaType type,
BeanDescription beanDesc)
Method called to create and return a deserializer that can construct
JsonNode(s) from JSON content.
|
JsonDeserializer<?> |
BasicDeserializerFactory.createTreeDeserializer(DeserializationConfig config,
JavaType nodeType,
BeanDescription beanDesc) |
JsonDeserializer<Object> |
DefaultDeserializationContext.deserializerInstance(Annotated annotated,
Object deserDef) |
JsonDeserializer<?> |
Deserializers.findArrayDeserializer(ArrayType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified array type.
|
JsonDeserializer<?> |
Deserializers.Base.findArrayDeserializer(ArrayType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findBeanDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc)
Method called to locate deserializer for specified value type which does not belong to any other
category (not an Enum, Collection, Map, Array or tree node)
|
JsonDeserializer<?> |
Deserializers.Base.findBeanDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
JsonDeserializer<?> |
Deserializers.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified
Collection (List, Set etc) type. |
JsonDeserializer<?> |
Deserializers.Base.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified
"Collection-like" type (one that acts
like
Collection but does not implement it). |
JsonDeserializer<?> |
Deserializers.Base.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<Object> |
DeserializerCache.findConvertingDeserializer(DeserializationContext ctxt,
Annotated a,
JsonDeserializer<Object> deser)
Helper method that will check whether given annotated entity (usually class,
but may also be a property accessor) indicates that a
Converter is to
be used; and if so, to construct and return suitable serializer for it. |
protected JsonDeserializer<Object> |
BeanDeserializerBase.findConvertingDeserializer(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method that can be used to see if specified property is annotated
to indicate use of a converter for property value (in case of container types,
it is container type itself, not key or content type).
|
JsonDeserializer<?> |
BasicDeserializerFactory.findDefaultDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Helper method called to find one of default serializers for "well-known"
platform types: JDK-provided types, and small number of public Jackson
API types.
|
protected JsonDeserializer<Object> |
DeserializerCache.findDeserializerFromAnnotation(DeserializationContext ctxt,
Annotated ann)
Helper method called to check if a class or method
has annotation that tells which class to use for deserialization.
|
protected JsonDeserializer<Object> |
BasicDeserializerFactory.findDeserializerFromAnnotation(DeserializationContext ctxt,
Annotated ann)
Helper method called to check if a class or method
has annotation that tells which class to use for deserialization.
|
JsonDeserializer<?> |
Deserializers.findEnumDeserializer(Class<?> type,
DeserializationConfig config,
BeanDescription beanDesc)
Method called to locate deserializer for specified
Enum type. |
JsonDeserializer<?> |
Deserializers.Base.findEnumDeserializer(Class<?> type,
DeserializationConfig config,
BeanDescription beanDesc) |
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) |
protected JsonDeserializer<?> |
BeanDeserializerFactory.findOptionalStdDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Overridable method called after checking all other types.
|
protected JsonDeserializer<?> |
BeanDeserializerFactory.findStdDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Method called by
BeanDeserializerFactory to see if there might be a standard
deserializer registered for given type. |
JsonDeserializer<?> |
Deserializers.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType,
DeserializationConfig config,
BeanDescription beanDesc)
Method called to locate deserializer for specified JSON tree node type.
|
JsonDeserializer<?> |
Deserializers.Base.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType,
DeserializationConfig config,
BeanDescription beanDesc) |
JsonDeserializer<Object> |
DeserializerCache.findValueDeserializer(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType propertyType)
Method called to get hold of a deserializer for a value of given type;
or if no such deserializer can be found, a default handler (which
may do a best-effort generic serialization or just simply
throw an exception when invoked).
|
JsonDeserializer<Object> |
SettableBeanProperty.getValueDeserializer() |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyArrayDeserializer(DeserializationConfig config,
ArrayType valueType,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer)
Method called by
DeserializerFactory after it has constructed the
standard deserializer for given
ArrayType
to make it possible to either replace or augment this deserializer with
additional functionality. |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyCollectionDeserializer(DeserializationConfig config,
CollectionType type,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer) |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyCollectionLikeDeserializer(DeserializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer) |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyDeserializer(DeserializationConfig config,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer)
Method called by
BeanDeserializerFactory after constructing default
bean deserializer instance with properties collected and ordered earlier. |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyEnumDeserializer(DeserializationConfig config,
JavaType type,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer) |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyMapDeserializer(DeserializationConfig config,
MapType type,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer) |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyMapLikeDeserializer(DeserializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer) |
JsonDeserializer<Object> |
BuilderBasedDeserializer.unwrappingDeserializer(NameTransformer unwrapper) |
abstract JsonDeserializer<Object> |
BeanDeserializerBase.unwrappingDeserializer(NameTransformer unwrapper) |
JsonDeserializer<Object> |
BeanDeserializer.unwrappingDeserializer(NameTransformer unwrapper) |
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomArrayDeserializer(ArrayType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomCollectionDeserializer(CollectionType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
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.findArrayDeserializer(ArrayType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified array type.
|
JsonDeserializer<?> |
Deserializers.Base.findArrayDeserializer(ArrayType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified
Collection (List, Set etc) type. |
JsonDeserializer<?> |
Deserializers.Base.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified
"Collection-like" type (one that acts
like
Collection but does not implement it). |
JsonDeserializer<?> |
Deserializers.Base.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<Object> |
DeserializerCache.findConvertingDeserializer(DeserializationContext ctxt,
Annotated a,
JsonDeserializer<Object> deser)
Helper method that will check whether given annotated entity (usually class,
but may also be a property accessor) indicates that a
Converter is to
be used; and if so, to construct and return suitable serializer for it. |
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) |
boolean |
DeserializationProblemHandler.handleUnknownProperty(DeserializationContext ctxt,
JsonParser jp,
JsonDeserializer<?> deserializer,
Object beanOrClass,
String propertyName)
Method called when a JSON Map ("Object") entry with an unrecognized
name is encountered.
|
JsonDeserializer<?> |
BeanDeserializerModifier.modifyArrayDeserializer(DeserializationConfig config,
ArrayType valueType,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer)
Method called by
DeserializerFactory after it has constructed the
standard deserializer for given
ArrayType
to make it possible to either replace or augment this deserializer with
additional functionality. |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyCollectionDeserializer(DeserializationConfig config,
CollectionType type,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer) |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyCollectionLikeDeserializer(DeserializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer) |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyDeserializer(DeserializationConfig config,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer)
Method called by
BeanDeserializerFactory after constructing default
bean deserializer instance with properties collected and ordered earlier. |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyEnumDeserializer(DeserializationConfig config,
JavaType type,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer) |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyMapDeserializer(DeserializationConfig config,
MapType type,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer) |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyMapLikeDeserializer(DeserializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer) |
abstract SettableBeanProperty |
SettableBeanProperty.withValueDeserializer(JsonDeserializer<?> deser)
Fluent factory method for constructing and returning a new instance
with specified value deserializer.
|
CreatorProperty |
CreatorProperty.withValueDeserializer(JsonDeserializer<?> deser) |
SettableAnyProperty |
SettableAnyProperty.withValueDeserializer(JsonDeserializer<Object> deser) |
Constructor and Description |
---|
CreatorProperty(CreatorProperty src,
JsonDeserializer<?> deser) |
SettableAnyProperty(BeanProperty property,
AnnotatedMethod setter,
JavaType type,
JsonDeserializer<Object> valueDeser) |
SettableAnyProperty(BeanProperty property,
Method rawSetter,
JavaType type,
JsonDeserializer<Object> valueDeser) |
SettableBeanProperty(SettableBeanProperty src,
JsonDeserializer<?> deser)
Copy-with-deserializer-change constructor for sub-classes to use.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanAsArrayBuilderDeserializer |
class |
BeanAsArrayDeserializer
Variant of
BeanDeserializer used for handling deserialization
of POJOs when serialized as JSON Arrays, instead of JSON Objects. |
class |
TypeWrappedDeserializer
Simple deserializer that will call configured type deserializer, passing
in configured data deserializer, and exposing it all as a simple
deserializer.
|
Modifier and Type | Field and Description |
---|---|
JsonDeserializer<Object> |
ObjectIdReader.deserializer
Deserializer used for deserializing id values.
|
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<Object> |
BeanAsArrayDeserializer.unwrappingDeserializer(NameTransformer unwrapper) |
JsonDeserializer<Object> |
BeanAsArrayBuilderDeserializer.unwrappingDeserializer(NameTransformer unwrapper) |
Constructor and Description |
---|
FieldProperty(FieldProperty src,
JsonDeserializer<?> deser) |
InnerClassProperty(InnerClassProperty src,
JsonDeserializer<?> deser) |
ManagedReferenceProperty(ManagedReferenceProperty src,
JsonDeserializer<?> deser) |
MethodProperty(MethodProperty src,
JsonDeserializer<?> deser) |
ObjectIdReader(JavaType t,
String propName,
ObjectIdGenerator<?> gen,
JsonDeserializer<?> deser,
SettableBeanProperty idProp) |
ObjectIdValueProperty(ObjectIdValueProperty src,
JsonDeserializer<?> deser) |
SetterlessProperty(SetterlessProperty src,
JsonDeserializer<?> deser) |
TypeWrappedDeserializer(TypeDeserializer typeDeser,
JsonDeserializer<Object> deser) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayBlockingQueueDeserializer
We need a custom deserializer both because
ArrayBlockingQueue has no
default constructor AND because it has size limit used for constructing
underlying storage automatically. |
class |
ClassDeserializer |
class |
CollectionDeserializer
Basic serializer that can take JSON "Array" structure and
construct a
Collection instance, with typed contents. |
class |
ContainerDeserializerBase<T>
Intermediate base deserializer class that adds more shared accessor
so that other classes can access information about contained (value)
types
|
static class |
DateDeserializers.CalendarDeserializer |
protected static class |
DateDeserializers.DateBasedDeserializer<T> |
static class |
DateDeserializers.DateDeserializer
Simple deserializer for handling
Date values. |
static class |
DateDeserializers.SqlDateDeserializer
Compared to plain old
Date , SQL version is easier
to deal with: mostly because it is more limited. |
static class |
DateDeserializers.TimestampDeserializer
Simple deserializer for handling
Timestamp values. |
protected static class |
DateDeserializers.TimeZoneDeserializer
As per [JACKSON-522], also need special handling for TimeZones
|
class |
DelegatingDeserializer
Base class that simplifies implementations of
JsonDeserializer s
that mostly delegate functionality to another deserializer implementation
(possibly forming a chaing of deserializers delegating functionality
in some cases) |
class |
EnumDeserializer
Deserializer class that can deserialize instances of
specified Enum class from Strings and Integers.
|
protected static class |
EnumDeserializer.FactoryBasedDeserializer
Deserializer that uses a single-String static factory method
for locating Enum values by String id.
|
class |
EnumMapDeserializer
Deserializer for
EnumMap values. |
class |
EnumSetDeserializer
Standard deserializer for
EnumSet s. |
class |
FromStringDeserializer<T>
Base class for simple deserializers that only accept JSON String
values as the source.
|
static class |
JacksonDeserializers.JavaTypeDeserializer
Deserializer for
JavaType values. |
static class |
JacksonDeserializers.TokenBufferDeserializer
We also want to directly support deserialization of
TokenBuffer . |
static class |
JdkDeserializers.AtomicBooleanDeserializer |
static class |
JdkDeserializers.AtomicReferenceDeserializer |
protected static class |
JdkDeserializers.CharsetDeserializer |
static class |
JdkDeserializers.CurrencyDeserializer |
static class |
JdkDeserializers.FileDeserializer |
protected static class |
JdkDeserializers.InetAddressDeserializer
As per [JACKSON-484], also need special handling for InetAddress...
|
protected static class |
JdkDeserializers.LocaleDeserializer
Kept protected as it's not meant to be extensible at this point
|
static class |
JdkDeserializers.PatternDeserializer |
static class |
JdkDeserializers.StackTraceElementDeserializer |
static class |
JdkDeserializers.URIDeserializer |
static class |
JdkDeserializers.URLDeserializer |
static class |
JdkDeserializers.UUIDDeserializer |
class |
JsonNodeDeserializer
|
class |
MapDeserializer
Basic serializer that can take Json "Object" structure and
construct a
Map instance, with typed contents. |
class |
NullifyingDeserializer
Bogus deserializer that will simply skip all content there is to map
and returns Java null reference.
|
static class |
NumberDeserializers.BigDecimalDeserializer |
static class |
NumberDeserializers.BigIntegerDeserializer
This is bit trickier to implement efficiently, while avoiding
overflow problems.
|
static class |
NumberDeserializers.BooleanDeserializer |
static class |
NumberDeserializers.ByteDeserializer |
static class |
NumberDeserializers.CharacterDeserializer |
static class |
NumberDeserializers.DoubleDeserializer |
static class |
NumberDeserializers.FloatDeserializer |
static class |
NumberDeserializers.IntegerDeserializer |
static class |
NumberDeserializers.LongDeserializer |
static class |
NumberDeserializers.NumberDeserializer
For type
Number.class , we can just rely on type
mappings that plain JsonParser.getNumberValue() returns. |
protected static class |
NumberDeserializers.PrimitiveOrWrapperDeserializer<T> |
static class |
NumberDeserializers.ShortDeserializer |
class |
ObjectArrayDeserializer
Basic serializer that can serialize non-primitive arrays.
|
class |
PrimitiveArrayDeserializers<T>
Container for deserializers used for instantiating "primitive arrays",
arrays that contain non-object java primitive types.
|
class |
StdDelegatingDeserializer<T>
Deserializer implementation where given Java type is first deserialized
by a standard Jackson deserializer into a delegate type; and then
this delegate type is converted using a configured
Converter into desired target type. |
class |
StdDeserializer<T>
Base class for common deserializers.
|
class |
StdScalarDeserializer<T>
Base class for deserializers that handle types that are serialized
as JSON scalars (non-structured, i.e.
|
class |
StringArrayDeserializer
Separate implementation for serializing String arrays (instead of
using
ObjectArrayDeserializer . |
class |
StringCollectionDeserializer
Specifically optimized version for
Collection s
that contain String values; reason is that this is a very common
type and we can make use of the fact that Strings are final. |
class |
StringDeserializer |
class |
ThrowableDeserializer
Deserializer that builds on basic
BeanDeserializer but
override some aspects like instance construction. |
class |
UntypedObjectDeserializer
Deserializer implementation that is used if it is necessary to bind content of
"unknown" type; something declared as basic
Object
(either explicitly, or due to type erasure). |
Modifier and Type | Field and Description |
---|---|
protected JsonDeserializer<Object> |
StringCollectionDeserializer._delegateDeserializer
Deserializer that is used iff delegate-based creator is
to be used for deserializing from JSON Object.
|
protected JsonDeserializer<Object> |
StdDelegatingDeserializer._delegateDeserializer
Underlying serializer for type
T<.code>. |
protected JsonDeserializer<Object> |
MapDeserializer._delegateDeserializer
Deserializer that is used iff delegate-based creator is
to be used for deserializing from JSON Object.
|
protected JsonDeserializer<Object> |
CollectionDeserializer._delegateDeserializer
Deserializer that is used iff delegate-based creator is
to be used for deserializing from JSON Object.
|
protected JsonDeserializer<?> |
DelegatingDeserializer._delegatee |
protected JsonDeserializer<String> |
StringArrayDeserializer._elementDeserializer
Value serializer to use, if not the standard one (which is inlined)
|
protected JsonDeserializer<Object> |
ObjectArrayDeserializer._elementDeserializer
Element deserializer
|
protected JsonDeserializer<Enum<?>> |
EnumSetDeserializer._enumDeserializer |
protected JsonDeserializer<Enum<?>> |
EnumMapDeserializer._keyDeserializer |
protected JsonDeserializer<String> |
StringCollectionDeserializer._valueDeserializer
Value deserializer to use, if NOT the standard one
(if it is, will be null).
|
protected JsonDeserializer<Object> |
MapDeserializer._valueDeserializer
Value deserializer.
|
protected JsonDeserializer<?> |
JdkDeserializers.AtomicReferenceDeserializer._valueDeserializer |
protected JsonDeserializer<Object> |
EnumMapDeserializer._valueDeserializer |
protected JsonDeserializer<Object> |
CollectionDeserializer._valueDeserializer
Value deserializer.
|
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<?> |
DelegatingDeserializer._createContextual(DeserializationContext ctxt,
BeanProperty property,
JsonDeserializer<?> newDelegatee) |
JsonDeserializer<?> |
StringCollectionDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
StringArrayDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Contextualization is needed to see whether we can "inline" deserialization
of String values, or if we have to use separate value deserializer.
|
JsonDeserializer<?> |
StdDelegatingDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
ObjectArrayDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
MapDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer,
when it is known for which property deserializer is needed for.
|
JsonDeserializer<?> |
JdkDeserializers.AtomicReferenceDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
EnumSetDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
EnumMapDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer,
when it is known for which property deserializer is needed for.
|
JsonDeserializer<?> |
DelegatingDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
DateDeserializers.DateBasedDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
static JsonDeserializer<?> |
EnumDeserializer.deserializerForCreator(DeserializationConfig config,
Class<?> enumClass,
AnnotatedMethod factory)
Factory method used when Enum instances are to be deserialized
using a creator (static factory method)
|
static JsonDeserializer<?> |
JacksonDeserializers.find(Class<?> rawType) |
static JsonDeserializer<?> |
NumberDeserializers.find(Class<?> rawType,
String clsName) |
static JsonDeserializer<?> |
JdkDeserializers.find(Class<?> rawType,
String clsName) |
static JsonDeserializer<?> |
DateDeserializers.find(Class<?> rawType,
String clsName) |
protected JsonDeserializer<?> |
StdDeserializer.findConvertingContentDeserializer(DeserializationContext ctxt,
BeanProperty prop,
JsonDeserializer<?> existingDeserializer)
Helper method that can be used to see if specified property has annotation
indicating that a converter is to be used for contained values (contents
of structured types; array/List/Map values)
|
protected JsonDeserializer<Object> |
StdDeserializer.findDeserializer(DeserializationContext ctxt,
JavaType type,
BeanProperty property)
Helper method used to locate deserializers for properties the
type this deserializer handles contains (usually for properties of
bean types)
|
static JsonDeserializer<?> |
PrimitiveArrayDeserializers.forType(Class<?> rawType) |
JsonDeserializer<Object> |
StringCollectionDeserializer.getContentDeserializer() |
JsonDeserializer<Object> |
ObjectArrayDeserializer.getContentDeserializer() |
JsonDeserializer<Object> |
MapDeserializer.getContentDeserializer() |
abstract JsonDeserializer<Object> |
ContainerDeserializerBase.getContentDeserializer()
Accesor for deserializer use for deserializing content values.
|
JsonDeserializer<Object> |
CollectionDeserializer.getContentDeserializer() |
JsonDeserializer<?> |
StdDelegatingDeserializer.getDelegatee() |
JsonDeserializer<?> |
DelegatingDeserializer.getDelegatee() |
static JsonDeserializer<? extends JsonNode> |
JsonNodeDeserializer.getDeserializer(Class<?> nodeClass)
Factory method for accessing deserializer for specific node type
|
protected abstract JsonDeserializer<?> |
DelegatingDeserializer.newDelegatingInstance(JsonDeserializer<?> newDelegatee) |
JsonDeserializer<?> |
DelegatingDeserializer.replaceDelegatee(JsonDeserializer<?> delegatee) |
JsonDeserializer<Object> |
ThrowableDeserializer.unwrappingDeserializer(NameTransformer unwrapper) |
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<?> |
DelegatingDeserializer._createContextual(DeserializationContext ctxt,
BeanProperty property,
JsonDeserializer<?> newDelegatee) |
static KeyDeserializer |
StdKeyDeserializers.constructDelegatingKeyDeserializer(DeserializationConfig config,
JavaType type,
JsonDeserializer<?> deser) |
protected JsonDeserializer<?> |
StdDeserializer.findConvertingContentDeserializer(DeserializationContext ctxt,
BeanProperty prop,
JsonDeserializer<?> existingDeserializer)
Helper method that can be used to see if specified property has annotation
indicating that a converter is to be used for contained values (contents
of structured types; array/List/Map values)
|
protected boolean |
StdDeserializer.isDefaultDeserializer(JsonDeserializer<?> deserializer)
Method that can be called to determine if given deserializer is the default
deserializer Jackson uses; as opposed to a custom deserializer installed by
a module or calling application.
|
protected abstract JsonDeserializer<?> |
DelegatingDeserializer.newDelegatingInstance(JsonDeserializer<?> newDelegatee) |
JsonDeserializer<?> |
DelegatingDeserializer.replaceDelegatee(JsonDeserializer<?> delegatee) |
protected StdDelegatingDeserializer<T> |
StdDelegatingDeserializer.withDelegate(Converter<Object,T> converter,
JavaType delegateType,
JsonDeserializer<?> delegateDeserializer)
Method used for creating resolved contextual instances.
|
EnumSetDeserializer |
EnumSetDeserializer.withDeserializer(JsonDeserializer<?> deser) |
ObjectArrayDeserializer |
ObjectArrayDeserializer.withDeserializer(TypeDeserializer elemTypeDeser,
JsonDeserializer<?> elemDeser)
Overridable fluent-factory method used to create contextual instances
|
protected StringCollectionDeserializer |
StringCollectionDeserializer.withResolved(JsonDeserializer<?> delegateDeser,
JsonDeserializer<?> valueDeser) |
protected StringCollectionDeserializer |
StringCollectionDeserializer.withResolved(JsonDeserializer<?> delegateDeser,
JsonDeserializer<?> valueDeser) |
EnumMapDeserializer |
EnumMapDeserializer.withResolved(JsonDeserializer<?> keyDeserializer,
JsonDeserializer<?> valueDeserializer)
Deprecated.
Since 2.1.3 -- use variant that takes one more argument.
|
EnumMapDeserializer |
EnumMapDeserializer.withResolved(JsonDeserializer<?> keyDeserializer,
JsonDeserializer<?> valueDeserializer)
Deprecated.
Since 2.1.3 -- use variant that takes one more argument.
|
EnumMapDeserializer |
EnumMapDeserializer.withResolved(JsonDeserializer<?> keyDeserializer,
JsonDeserializer<?> valueDeserializer,
TypeDeserializer valueTypeDeser) |
EnumMapDeserializer |
EnumMapDeserializer.withResolved(JsonDeserializer<?> keyDeserializer,
JsonDeserializer<?> valueDeserializer,
TypeDeserializer valueTypeDeser) |
protected CollectionDeserializer |
CollectionDeserializer.withResolved(JsonDeserializer<?> dd,
JsonDeserializer<?> vd,
TypeDeserializer vtd)
Fluent-factory method call to construct contextual instance.
|
protected CollectionDeserializer |
CollectionDeserializer.withResolved(JsonDeserializer<?> dd,
JsonDeserializer<?> vd,
TypeDeserializer vtd)
Fluent-factory method call to construct contextual instance.
|
protected ArrayBlockingQueueDeserializer |
ArrayBlockingQueueDeserializer.withResolved(JsonDeserializer<?> dd,
JsonDeserializer<?> vd,
TypeDeserializer vtd)
Fluent-factory method call to construct contextual instance.
|
protected ArrayBlockingQueueDeserializer |
ArrayBlockingQueueDeserializer.withResolved(JsonDeserializer<?> dd,
JsonDeserializer<?> vd,
TypeDeserializer vtd)
Fluent-factory method call to construct contextual instance.
|
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 |
---|
ArrayBlockingQueueDeserializer(JavaType collectionType,
JsonDeserializer<Object> valueDeser,
TypeDeserializer valueTypeDeser,
ValueInstantiator valueInstantiator,
JsonDeserializer<Object> delegateDeser)
Constructor used when creating contextualized instances.
|
ArrayBlockingQueueDeserializer(JavaType collectionType,
JsonDeserializer<Object> valueDeser,
TypeDeserializer valueTypeDeser,
ValueInstantiator valueInstantiator,
JsonDeserializer<Object> delegateDeser)
Constructor used when creating contextualized instances.
|
CollectionDeserializer(JavaType collectionType,
JsonDeserializer<Object> valueDeser,
TypeDeserializer valueTypeDeser,
ValueInstantiator valueInstantiator)
Constructor for context-free instances, where we do not yet know
which property is using this deserializer.
|
CollectionDeserializer(JavaType collectionType,
JsonDeserializer<Object> valueDeser,
TypeDeserializer valueTypeDeser,
ValueInstantiator valueInstantiator,
JsonDeserializer<Object> delegateDeser)
Constructor used when creating contextualized instances.
|
CollectionDeserializer(JavaType collectionType,
JsonDeserializer<Object> valueDeser,
TypeDeserializer valueTypeDeser,
ValueInstantiator valueInstantiator,
JsonDeserializer<Object> delegateDeser)
Constructor used when creating contextualized instances.
|
DelegatingDeserializer(JsonDeserializer<?> delegatee) |
EnumMapDeserializer(JavaType mapType,
JsonDeserializer<?> keyDeserializer,
JsonDeserializer<?> valueDeser)
Deprecated.
Since 2.1.3 -- use variant that takes one more argument.
|
EnumMapDeserializer(JavaType mapType,
JsonDeserializer<?> keyDeserializer,
JsonDeserializer<?> valueDeser)
Deprecated.
Since 2.1.3 -- use variant that takes one more argument.
|
EnumMapDeserializer(JavaType mapType,
JsonDeserializer<?> keyDeserializer,
JsonDeserializer<?> valueDeser,
TypeDeserializer valueTypeDeser) |
EnumMapDeserializer(JavaType mapType,
JsonDeserializer<?> keyDeserializer,
JsonDeserializer<?> valueDeser,
TypeDeserializer valueTypeDeser) |
EnumSetDeserializer(JavaType enumType,
JsonDeserializer<?> deser) |
JdkDeserializers.AtomicReferenceDeserializer(JavaType referencedType,
JsonDeserializer<?> deser) |
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) |
ObjectArrayDeserializer(ArrayType arrayType,
JsonDeserializer<Object> elemDeser,
TypeDeserializer elemTypeDeser) |
StdDelegatingDeserializer(Converter<Object,T> converter,
JavaType delegateType,
JsonDeserializer<?> delegateDeserializer) |
StringArrayDeserializer(JsonDeserializer<?> deser) |
StringCollectionDeserializer(JavaType collectionType,
JsonDeserializer<?> valueDeser,
ValueInstantiator valueInstantiator) |
StringCollectionDeserializer(JavaType collectionType,
ValueInstantiator valueInstantiator,
JsonDeserializer<?> delegateDeser,
JsonDeserializer<?> valueDeser) |
StringCollectionDeserializer(JavaType collectionType,
ValueInstantiator valueInstantiator,
JsonDeserializer<?> delegateDeser,
JsonDeserializer<?> valueDeser) |
Modifier and Type | Class and Description |
---|---|
static class |
CoreXMLDeserializers.DurationDeserializer |
static class |
CoreXMLDeserializers.GregorianCalendarDeserializer |
static class |
CoreXMLDeserializers.QNameDeserializer |
class |
DOMDeserializer<T>
Base for serializers that allows parsing DOM Documents from JSON Strings.
|
static class |
DOMDeserializer.DocumentDeserializer |
static class |
DOMDeserializer.NodeDeserializer |
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<?> |
CoreXMLDeserializers.findBeanDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
JsonDeserializer<?> |
OptionalHandlerFactory.findDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
Modifier and Type | Method and Description |
---|---|
Class<? extends JsonDeserializer<?>> |
JacksonAnnotationIntrospector.findContentDeserializer(Annotated a) |
Class<? extends JsonDeserializer<?>> |
JacksonAnnotationIntrospector.findDeserializer(Annotated a) |
Modifier and Type | Class and Description |
---|---|
class |
FailingDeserializer
Special bogus "serializer" that will throw
JsonMappingException if an attempt is made to deserialize
a value. |
Modifier and Type | Field and Description |
---|---|
protected JsonDeserializer<Object> |
TypeDeserializerBase._defaultImplDeserializer |
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,JsonDeserializer<Object>> |
TypeDeserializerBase._deserializers
For efficient operation we will lazily build mappings from type ids
to actual deserializers, once needed.
|
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<Object> |
TypeDeserializerBase._findDefaultImplDeserializer(DeserializationContext ctxt) |
protected JsonDeserializer<Object> |
TypeDeserializerBase._findDeserializer(DeserializationContext ctxt,
String typeId) |
Modifier and Type | Field and Description |
---|---|
protected HashMap<ClassKey,JsonDeserializer<?>> |
SimpleDeserializers._classMappings |
Modifier and Type | Method and Description |
---|---|
void |
SimpleDeserializers.addDeserializers(Map<Class<?>,JsonDeserializer<?>> desers) |
Constructor and Description |
---|
SimpleDeserializers(Map<Class<?>,JsonDeserializer<?>> desers) |
SimpleModule(String name,
Version version,
Map<Class<?>,JsonDeserializer<?>> deserializers) |
SimpleModule(String name,
Version version,
Map<Class<?>,JsonDeserializer<?>> deserializers,
List<JsonSerializer<?>> serializers) |
Copyright © 2012-2013 FasterXML. All Rights Reserved.