Package | Description |
---|---|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
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.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) . |
com.fasterxml.jackson.datatype.jdk8 | |
com.fasterxml.jackson.datatype.jsr310.deser | |
com.fasterxml.jackson.module.jaxb |
Package that contains support for using JAXB annotations for
configuring Jackson data-binding aspects.
|
com.fasterxml.jackson.module.jaxb.deser |
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
Deserializer for individual element values.
|
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)
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._findTreeDeserializer(DeserializationContext ctxt) |
protected JsonDeserializer<Object> |
ObjectReader._prefetchRootDeserializer(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 prop)
Method for finding a value deserializer, and creating a contextual
version if necessary, for value reached via specified property.
|
JsonDeserializer<Object> |
DeserializationContext.findNonContextualValueDeserializer(JavaType type)
Variant that will try to locate deserializer for current type, but without
performing any contextualization (unlike
DeserializationContext.findContextualValueDeserializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty) )
or checking for need to create a TypeDeserializer (unlike
DeserializationContext.findRootValueDeserializer(JavaType) . |
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<?> |
DeserializationContext.handlePrimaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop)
Deprecated.
|
JsonDeserializer<?> |
DeserializationContext.handlePrimaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop,
JavaType type)
Method called for primary property deserializers (ones
directly created to deserialize values of a POJO property),
to handle details of resolving
ContextualDeserializer with given property context. |
JsonDeserializer<?> |
DeserializationContext.handleSecondaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop)
Deprecated.
|
JsonDeserializer<?> |
DeserializationContext.handleSecondaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop,
JavaType type)
Method called for secondary property deserializers (ones
NOT directly created to deal with an annotatable POJO property,
but instead created as a component -- such as value deserializers
for structured types, or deserializers for root values)
to handle details of resolving
ContextualDeserializer with given property context. |
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 ObjectReader |
ObjectReader._new(ObjectReader base,
DeserializationConfig config,
JavaType valueType,
JsonDeserializer<Object> rootDeser,
Object valueToUpdate,
FormatSchema schema,
InjectableValues injectableValues,
DataFormatReaders dataFormatReaders)
Overridable factory method called by various "withXxx()" methods
|
protected <T> MappingIterator<T> |
ObjectReader._newIterator(JsonParser p,
DeserializationContext ctxt,
JsonDeserializer<?> deser,
boolean parserManaged)
Factory method used to create
MappingIterator instances;
either default, or custom subtype. |
protected Object |
ObjectMapper._unwrapAndDeserialize(JsonParser p,
DeserializationContext ctxt,
DeserializationConfig config,
JavaType rootType,
JsonDeserializer<Object> deser) |
protected Object |
ObjectReader._unwrapAndDeserialize(JsonParser p,
DeserializationContext ctxt,
JavaType rootType,
JsonDeserializer<Object> deser) |
JsonDeserializer<?> |
DeserializationContext.handlePrimaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop)
Deprecated.
|
JsonDeserializer<?> |
DeserializationContext.handlePrimaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop,
JavaType type)
Method called for primary property deserializers (ones
directly created to deserialize values of a POJO property),
to handle details of resolving
ContextualDeserializer with given property context. |
JsonDeserializer<?> |
DeserializationContext.handleSecondaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop)
Deprecated.
|
JsonDeserializer<?> |
DeserializationContext.handleSecondaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop,
JavaType type)
Method called for secondary property deserializers (ones
NOT directly created to deal with an annotatable POJO property,
but instead created as a component -- such as value deserializers
for structured types, or deserializers for root values)
to handle details of resolving
ContextualDeserializer with given property context. |
boolean |
DeserializationContext.handleUnknownProperty(JsonParser p,
JsonDeserializer<?> deser,
Object instanceOrClass,
String propName)
Method that deserializers should call if they encounter an unrecognized
property (and once that is not explicitly designed as ignorable), to
inform possibly configured
DeserializationProblemHandler s and
let it handle the problem. |
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)
|
Constructor and Description |
---|
MappingIterator(JavaType type,
JsonParser p,
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,
|
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._arrayDelegateDeserializer
Deserializer that is used iff array-delegate-based creator
is to be used for deserializing from JSON Object.
|
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> |
BasicDeserializerFactory._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._findCustomReferenceDeserializer(ReferenceType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer contentTypeDeserializer,
JsonDeserializer<?> contentDeserializer) |
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(DeserializationContext ctxt,
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.createReferenceDeserializer(DeserializationContext ctxt,
ReferenceType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
BasicDeserializerFactory.createReferenceDeserializer(DeserializationContext ctxt,
ReferenceType 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 ann,
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, reference value 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; and if
so, to instantiate, that deserializer to use.
|
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<?> |
BasicDeserializerFactory.findOptionalStdDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Overridable method called after checking all other types.
|
JsonDeserializer<?> |
Deserializers.findReferenceDeserializer(ReferenceType refType,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer contentTypeDeserializer,
JsonDeserializer<?> contentDeserializer)
Method called to locate deserializer for value that is of referential
type,
|
JsonDeserializer<?> |
Deserializers.Base.findReferenceDeserializer(ReferenceType refType,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer contentTypeDeserializer,
JsonDeserializer<?> contentDeserializer) |
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<?> |
BeanDeserializerModifier.modifyReferenceDeserializer(DeserializationConfig config,
ReferenceType 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 Object |
BeanDeserializerBase._convertObjectId(JsonParser p,
DeserializationContext ctxt,
Object rawId,
JsonDeserializer<Object> idDeser)
Helper method we need to do necessary conversion from whatever native object id
type is, into declared type that Jackson internals expect.
|
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) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomReferenceDeserializer(ReferenceType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer contentTypeDeserializer,
JsonDeserializer<?> contentDeserializer) |
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) |
JsonDeserializer<?> |
Deserializers.findReferenceDeserializer(ReferenceType refType,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer contentTypeDeserializer,
JsonDeserializer<?> contentDeserializer)
Method called to locate deserializer for value that is of referential
type,
|
JsonDeserializer<?> |
Deserializers.Base.findReferenceDeserializer(ReferenceType refType,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer contentTypeDeserializer,
JsonDeserializer<?> contentDeserializer) |
boolean |
DeserializationProblemHandler.handleUnknownProperty(DeserializationContext ctxt,
JsonParser p,
JsonDeserializer<?> deserializer,
Object beanOrClass,
String propertyName)
Method called when a JSON Object property 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) |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyReferenceDeserializer(DeserializationConfig config,
ReferenceType 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,
AnnotatedMember setter,
JavaType type,
JsonDeserializer<Object> valueDeser,
TypeDeserializer typeDeser) |
SettableBeanProperty(PropertyName propName,
JavaType type,
PropertyMetadata metadata,
JsonDeserializer<Object> valueDeser)
Constructor only used by
ObjectIdValueProperty . |
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 |
ErrorThrowingDeserializer
A deserializer that stores an
Error caught during constructing
of the deserializer, which needs to be deferred and only during actual
attempt to deserialize a value of given type. |
class |
FailingDeserializer
Special bogus "serializer" that will throw
JsonMappingException if an attempt is made to deserialize
a value. |
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 |
---|---|
protected JsonDeserializer<Object> |
TypeWrappedDeserializer._deserializer |
protected JsonDeserializer<Object> |
ObjectIdReader._deserializer
Deserializer used for deserializing id values.
|
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<?> |
TypeWrappedDeserializer.getDelegatee() |
JsonDeserializer<Object> |
ObjectIdReader.getDeserializer() |
JsonDeserializer<Object> |
BeanAsArrayDeserializer.unwrappingDeserializer(NameTransformer unwrapper) |
JsonDeserializer<Object> |
BeanAsArrayBuilderDeserializer.unwrappingDeserializer(NameTransformer unwrapper) |
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 |
AtomicBooleanDeserializer |
class |
AtomicReferenceDeserializer |
class |
ByteBufferDeserializer |
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. |
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.
|
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 |
FromStringDeserializer.Std
"Chameleon" deserializer that works on simple types that are deserialized
from a simple String.
|
class |
JsonNodeDeserializer
|
class |
MapDeserializer
Basic serializer that can take JSON "Object" structure and
construct a
Map instance, with typed contents. |
class |
MapEntryDeserializer
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 |
ReferenceTypeDeserializer<T>
Base deserializer implementation for properties
ReferenceType values. |
class |
StackTraceElementDeserializer |
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 |
StdNodeBasedDeserializer<T>
Convenience deserializer that may be used to deserialize values given an
intermediate tree representation (
JsonNode ). |
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 |
TokenBufferDeserializer
We also want to directly support deserialization of
TokenBuffer . |
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). |
static class |
UntypedObjectDeserializer.Vanilla |
class |
UUIDDeserializer |
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 . |
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<Object> |
UntypedObjectDeserializer._listDeserializer |
protected JsonDeserializer<Object> |
UntypedObjectDeserializer._mapDeserializer |
protected JsonDeserializer<Object> |
UntypedObjectDeserializer._numberDeserializer |
protected JsonDeserializer<Object> |
UntypedObjectDeserializer._stringDeserializer |
protected JsonDeserializer<Object> |
StdNodeBasedDeserializer._treeDeserializer |
protected JsonDeserializer<String> |
StringCollectionDeserializer._valueDeserializer
Value deserializer to use, if NOT the standard one
(if it is, will be null).
|
protected JsonDeserializer<?> |
ReferenceTypeDeserializer._valueDeserializer |
protected JsonDeserializer<Object> |
MapEntryDeserializer._valueDeserializer
Value deserializer.
|
protected JsonDeserializer<Object> |
MapDeserializer._valueDeserializer
Value deserializer.
|
protected JsonDeserializer<Object> |
EnumMapDeserializer._valueDeserializer |
protected JsonDeserializer<Object> |
CollectionDeserializer._valueDeserializer
Value deserializer.
|
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<Object> |
UntypedObjectDeserializer._clearIfStdImpl(JsonDeserializer<Object> deser) |
protected JsonDeserializer<?> |
DelegatingDeserializer._createContextual(DeserializationContext ctxt,
BeanProperty property,
JsonDeserializer<?> newDelegatee)
Deprecated.
|
protected JsonDeserializer<Object> |
UntypedObjectDeserializer._findCustomDeser(DeserializationContext ctxt,
JavaType type) |
protected JsonDeserializer<?> |
UntypedObjectDeserializer._withResolved(JsonDeserializer<?> mapDeser,
JsonDeserializer<?> listDeser,
JsonDeserializer<?> stringDeser,
JsonDeserializer<?> numberDeser) |
JsonDeserializer<?> |
UntypedObjectDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
We only use contextualization for optimizing the case where no customization
occurred; if so, can slip in a more streamlined version.
|
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<?> |
ReferenceTypeDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
PrimitiveArrayDeserializers.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
ObjectArrayDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
MapEntryDeserializer.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<?> |
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<?> |
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)
Deprecated.
Since 2.8
|
static JsonDeserializer<?> |
EnumDeserializer.deserializerForCreator(DeserializationConfig config,
Class<?> enumClass,
AnnotatedMethod factory,
ValueInstantiator valueInstantiator,
SettableBeanProperty[] creatorProps)
Factory method used when Enum instances are to be deserialized
using a creator (static factory method)
|
static JsonDeserializer<?> |
EnumDeserializer.deserializerForNoArgsCreator(DeserializationConfig config,
Class<?> enumClass,
AnnotatedMethod factory)
Factory method used when Enum instances are to be deserialized
using a zero-/no-args factory method
|
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> |
MapEntryDeserializer.getContentDeserializer() |
JsonDeserializer<Object> |
MapDeserializer.getContentDeserializer() |
JsonDeserializer<Object> |
EnumMapDeserializer.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<Object> |
UntypedObjectDeserializer._clearIfStdImpl(JsonDeserializer<Object> deser) |
protected JsonDeserializer<?> |
DelegatingDeserializer._createContextual(DeserializationContext ctxt,
BeanProperty property,
JsonDeserializer<?> newDelegatee)
Deprecated.
|
protected JsonDeserializer<?> |
UntypedObjectDeserializer._withResolved(JsonDeserializer<?> mapDeser,
JsonDeserializer<?> listDeser,
JsonDeserializer<?> stringDeser,
JsonDeserializer<?> numberDeser) |
protected JsonDeserializer<?> |
UntypedObjectDeserializer._withResolved(JsonDeserializer<?> mapDeser,
JsonDeserializer<?> listDeser,
JsonDeserializer<?> stringDeser,
JsonDeserializer<?> numberDeser) |
protected JsonDeserializer<?> |
UntypedObjectDeserializer._withResolved(JsonDeserializer<?> mapDeser,
JsonDeserializer<?> listDeser,
JsonDeserializer<?> stringDeser,
JsonDeserializer<?> numberDeser) |
protected JsonDeserializer<?> |
UntypedObjectDeserializer._withResolved(JsonDeserializer<?> mapDeser,
JsonDeserializer<?> listDeser,
JsonDeserializer<?> stringDeser,
JsonDeserializer<?> numberDeser) |
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
|
EnumSetDeserializer |
EnumSetDeserializer.withResolved(JsonDeserializer<?> deser,
Boolean unwrapSingle) |
protected StringCollectionDeserializer |
StringCollectionDeserializer.withResolved(JsonDeserializer<?> delegateDeser,
JsonDeserializer<?> valueDeser,
Boolean unwrapSingle) |
protected StringCollectionDeserializer |
StringCollectionDeserializer.withResolved(JsonDeserializer<?> delegateDeser,
JsonDeserializer<?> valueDeser,
Boolean unwrapSingle) |
protected CollectionDeserializer |
CollectionDeserializer.withResolved(JsonDeserializer<?> dd,
JsonDeserializer<?> vd,
TypeDeserializer vtd)
Deprecated.
Since 2.7 as it does not pass `unwrapSingle`
|
protected CollectionDeserializer |
CollectionDeserializer.withResolved(JsonDeserializer<?> dd,
JsonDeserializer<?> vd,
TypeDeserializer vtd)
Deprecated.
Since 2.7 as it does not pass `unwrapSingle`
|
protected CollectionDeserializer |
CollectionDeserializer.withResolved(JsonDeserializer<?> dd,
JsonDeserializer<?> vd,
TypeDeserializer vtd,
Boolean unwrapSingle)
Fluent-factory method call to construct contextual instance.
|
protected CollectionDeserializer |
CollectionDeserializer.withResolved(JsonDeserializer<?> dd,
JsonDeserializer<?> vd,
TypeDeserializer vtd,
Boolean unwrapSingle)
Fluent-factory method call to construct contextual instance.
|
protected ArrayBlockingQueueDeserializer |
ArrayBlockingQueueDeserializer.withResolved(JsonDeserializer<?> dd,
JsonDeserializer<?> vd,
TypeDeserializer vtd,
Boolean unwrapSingle)
Fluent-factory method call to construct contextual instance.
|
protected ArrayBlockingQueueDeserializer |
ArrayBlockingQueueDeserializer.withResolved(JsonDeserializer<?> dd,
JsonDeserializer<?> vd,
TypeDeserializer vtd,
Boolean unwrapSingle)
Fluent-factory method call to construct contextual instance.
|
EnumMapDeserializer |
EnumMapDeserializer.withResolved(KeyDeserializer keyDeserializer,
JsonDeserializer<?> valueDeserializer,
TypeDeserializer valueTypeDeser) |
protected MapEntryDeserializer |
MapEntryDeserializer.withResolved(KeyDeserializer keyDeser,
TypeDeserializer valueTypeDeser,
JsonDeserializer<?> valueDeser)
Fluent factory method used to create a copy with slightly
different settings.
|
protected MapDeserializer |
MapDeserializer.withResolved(KeyDeserializer keyDeser,
TypeDeserializer valueTypeDeser,
JsonDeserializer<?> valueDeser,
Set<String> ignorable)
Fluent factory method used to create a copy with slightly
different settings.
|
protected abstract ReferenceTypeDeserializer<T> |
ReferenceTypeDeserializer.withResolved(TypeDeserializer typeDeser,
JsonDeserializer<?> valueDeser) |
AtomicReferenceDeserializer |
AtomicReferenceDeserializer.withResolved(TypeDeserializer typeDeser,
JsonDeserializer<?> valueDeser) |
ObjectArrayDeserializer |
ObjectArrayDeserializer.withResolved(TypeDeserializer elemTypeDeser,
JsonDeserializer<?> elemDeser,
Boolean unwrapSingle) |
Modifier and Type | Class and Description |
---|---|
static class |
CoreXMLDeserializers.Std
Combo-deserializer that supports deserialization of somewhat optional
javax.xml types
QName , Duration and XMLGregorianCalendar . |
class |
DOMDeserializer<T>
Base for serializers that allows parsing DOM Documents from JSON Strings.
|
static class |
DOMDeserializer.DocumentDeserializer |
static class |
DOMDeserializer.NodeDeserializer |
class |
NioPathDeserializer |
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<?> |
CoreXMLDeserializers.findBeanDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
JsonDeserializer<?> |
OptionalHandlerFactory.findDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
JsonDeserializer<?> |
Java7SupportImpl.getDeserializerForJavaNioFilePath(Class<?> rawType) |
abstract JsonDeserializer<?> |
Java7Support.getDeserializerForJavaNioFilePath(Class<?> rawType) |
Modifier and Type | Field and Description |
---|---|
protected JsonDeserializer<Object> |
TypeDeserializerBase._defaultImplDeserializer |
Modifier and Type | Field and Description |
---|---|
protected Map<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) |
Modifier and Type | Class and Description |
---|---|
class |
OptionalIntDeserializer |
class |
OptionalLongDeserializer |
Modifier and Type | Class and Description |
---|---|
class |
DurationDeserializer
Deserializer for Java 8 temporal
Duration s. |
class |
InstantDeserializer<T extends Temporal>
|
class |
JSR310DateTimeDeserializerBase<T> |
class |
JSR310StringParsableDeserializer
|
class |
LocalDateDeserializer
Deserializer for Java 8 temporal
LocalDate s. |
class |
LocalDateTimeDeserializer
Deserializer for Java 8 temporal
LocalDateTime s. |
class |
LocalTimeDeserializer
Deserializer for Java 8 temporal
LocalTime s. |
class |
MonthDayDeserializer
Deserializer for Java 8 temporal
MonthDay s. |
class |
OffsetTimeDeserializer
Deserializer for Java 8 temporal
OffsetTime s. |
class |
YearDeserializer
Deserializer for Java 8 temporal
Year s. |
class |
YearMonthDeserializer
Deserializer for Java 8 temporal
YearMonth s. |
Modifier and Type | Field and Description |
---|---|
static JsonDeserializer<Period> |
JSR310StringParsableDeserializer.PERIOD |
static JsonDeserializer<ZoneId> |
JSR310StringParsableDeserializer.ZONE_ID |
static JsonDeserializer<ZoneOffset> |
JSR310StringParsableDeserializer.ZONE_OFFSET |
Modifier and Type | Field and Description |
---|---|
protected JsonDeserializer<?> |
JaxbAnnotationIntrospector._dataHandlerDeserializer |
Modifier and Type | Class and Description |
---|---|
class |
DataHandlerJsonDeserializer |
class |
DomElementJsonDeserializer |
Copyright © 2017 JBoss by Red Hat. All rights reserved.