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.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.exc | |
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 |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
com.fasterxml.jackson.databind.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Field and Description |
---|---|
protected DeserializationContext |
MappingIterator._context
Context for deserialization, needed to pass through to deserializer
|
Modifier and Type | Method and Description |
---|---|
DeserializationContext |
ObjectMapper.getDeserializationContext()
Method for getting current
DeserializationContext . |
DeserializationContext |
DeserializationContext.setAttribute(Object key,
Object value) |
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 void |
ObjectReader._initForMultiRead(DeserializationContext ctxt,
JsonParser p)
Alternative to
ObjectReader._initForReading(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.core.JsonParser) used in cases where reading
of multiple values means that we may or may not want to advance the stream,
but need to do other initialization. |
protected JsonToken |
ObjectReader._initForReading(DeserializationContext ctxt,
JsonParser p) |
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) |
protected void |
ObjectReader._verifyNoTrailingTokens(JsonParser p,
DeserializationContext ctxt,
JavaType bindType) |
protected void |
ObjectMapper._verifyNoTrailingTokens(JsonParser p,
DeserializationContext ctxt,
JavaType bindType) |
abstract T |
JsonDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt)
Method that can be called to ask implementation to deserialize
JSON content into the value type this serializer handles.
|
T |
JsonDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
T intoValue)
Alternate deserialization method (compared to the most commonly
used,
JsonDeserializer.deserialize(JsonParser, DeserializationContext) ),
which takes in initialized value instance, to be
configured and/or populated by deserializer. |
abstract Object |
KeyDeserializer.deserializeKey(String key,
DeserializationContext ctxt)
Method called to deserialize a
Map key from JSON property name. |
Object |
JsonDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
Deserialization called when type being deserialized is defined to
contain additional type identifier, to allow for correctly
instantiating correct subtype.
|
Object |
JsonDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer,
T intoValue)
Method similar to
JsonDeserializer.deserializeWithType(JsonParser,DeserializationContext,TypeDeserializer)
but called when merging value. |
abstract Object |
InjectableValues.findInjectableValue(Object valueId,
DeserializationContext ctxt,
BeanProperty forProperty,
Object beanInstance)
Method called to find value identified by id
valueId to
inject as value of specified property during deserialization, passing
POJO instance in which value will be injected if it is available
(will be available when injected via field or setter; not available
when injected via constructor or factory method argument). |
Object |
InjectableValues.Std.findInjectableValue(Object valueId,
DeserializationContext ctxt,
BeanProperty forProperty,
Object beanInstance) |
static JsonMappingException |
JsonMappingException.from(DeserializationContext ctxt,
String msg) |
static JsonMappingException |
JsonMappingException.from(DeserializationContext ctxt,
String msg,
Throwable t) |
Object |
JsonDeserializer.getEmptyValue(DeserializationContext ctxt)
Method called to determine value to be used for "empty" values
(most commonly when deserializing from empty JSON Strings).
|
T |
JsonDeserializer.getNullValue(DeserializationContext ctxt)
Method that can be called to determine value to be used for
representing null values (values deserialized when JSON token
is
JsonToken.VALUE_NULL ). |
Constructor and Description |
---|
DeserializationContext(DeserializationContext src)
Copy-constructor for use with
copy() by ObjectMapper.copy() |
DeserializationContext(DeserializationContext src,
DeserializationConfig config,
JsonParser p,
InjectableValues injectableValues)
Constructor used for creating actual per-call instances.
|
DeserializationContext(DeserializationContext src,
DeserializerFactory factory) |
MappingIterator(JavaType type,
JsonParser p,
DeserializationContext ctxt,
JsonDeserializer<?> deser,
boolean managedParser,
Object valueToUpdate) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultDeserializationContext
Complete
DeserializationContext implementation that adds
extended API for ObjectMapper (and ObjectReader )
to call, as well as implements certain parts that base class
has left abstract. |
static class |
DefaultDeserializationContext.Impl
Actual full concrete implementation
|
Modifier and Type | Field and Description |
---|---|
protected DeserializationContext |
BeanDeserializerBuilder._context |
Modifier and Type | Method and Description |
---|---|
protected void |
BasicDeserializerFactory._addDeserializerConstructors(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators,
Map<AnnotatedWithParams,BeanPropertyDefinition[]> creatorParams) |
protected void |
BasicDeserializerFactory._addDeserializerFactoryMethods(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators,
Map<AnnotatedWithParams,BeanPropertyDefinition[]> creatorParams) |
protected void |
BasicDeserializerFactory._addExplicitAnyCreator(DeserializationContext ctxt,
BeanDescription beanDesc,
CreatorCollector creators,
CreatorCandidate candidate)
Helper method called when there is the explicit "is-creator", but no mode declaration.
|
protected void |
BasicDeserializerFactory._addExplicitDelegatingCreator(DeserializationContext ctxt,
BeanDescription beanDesc,
CreatorCollector creators,
CreatorCandidate candidate)
Helper method called when there is the explicit "is-creator" with mode of "delegating"
|
protected void |
BasicDeserializerFactory._addExplicitPropertyCreator(DeserializationContext ctxt,
BeanDescription beanDesc,
CreatorCollector creators,
CreatorCandidate candidate)
Helper method called when there is the explicit "is-creator" with mode of "properties-based"
|
protected ValueInstantiator |
BasicDeserializerFactory._constructDefaultValueInstantiator(DeserializationContext ctxt,
BeanDescription beanDesc)
Method that will construct standard default
ValueInstantiator
using annotations (like @JsonCreator) and visibility rules |
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<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 Object |
ValueInstantiator._createFromStringFallbacks(DeserializationContext ctxt,
String value) |
protected Object |
BuilderBasedDeserializer._deserialize(JsonParser p,
DeserializationContext ctxt,
Object builder) |
protected Object |
AbstractDeserializer._deserializeFromObjectId(JsonParser p,
DeserializationContext ctxt)
Method called in cases where it looks like we got an Object Id
to parse and use as a reference.
|
protected Object |
AbstractDeserializer._deserializeIfNatural(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer._deserializeOther(JsonParser p,
DeserializationContext ctxt,
JsonToken t) |
protected abstract Object |
BeanDeserializerBase._deserializeUsingPropertyBased(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer._deserializeUsingPropertyBased(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize bean using "property-based creator":
this means that a non-default constructor or factory method is
called, and then possibly other setters.
|
protected Object |
BuilderBasedDeserializer._deserializeUsingPropertyBased(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize bean using "property-based creator":
this means that a non-default constructor or factory method is
called, and then possibly other setters.
|
protected Object |
BeanDeserializer._deserializeWithErrorWrapping(JsonParser p,
DeserializationContext ctxt,
SettableBeanProperty prop) |
protected Map<AnnotatedWithParams,BeanPropertyDefinition[]> |
BasicDeserializerFactory._findCreatorsFromProperties(DeserializationContext ctxt,
BeanDescription beanDesc) |
protected NameTransformer |
BeanDeserializerBase._findPropertyUnwrapper(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method called to see if given property might be so-called unwrapped
property: these require special handling.
|
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 PropertyMetadata |
BasicDeserializerFactory._getSetterInfo(DeserializationContext ctxt,
BeanProperty prop,
PropertyMetadata metadata)
Helper method copied from
POJOPropertyBuilder since that won't be
applied to creator parameters |
protected Object |
BeanDeserializerBase._handleTypedObjectId(JsonParser p,
DeserializationContext ctxt,
Object pojo,
Object rawId)
Offlined method called to handle "native" Object Id that has been read
and known to be associated with given deserialized POJO.
|
protected KeyDeserializer |
DeserializerCache._handleUnknownKeyDeserializer(DeserializationContext ctxt,
JavaType type) |
protected JsonDeserializer<Object> |
DeserializerCache._handleUnknownValueDeserializer(DeserializationContext ctxt,
JavaType type) |
protected boolean |
BasicDeserializerFactory._hasCreatorAnnotation(DeserializationContext ctxt,
Annotated ann) |
protected Object |
BeanDeserializer._missingToken(JsonParser p,
DeserializationContext ctxt)
Deprecated.
|
protected void |
BasicDeserializerFactory._reportUnwrappedCreatorProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
AnnotatedParameter param) |
protected SettableBeanProperty |
BeanDeserializerBase._resolvedObjectIdProperty(DeserializationContext ctxt,
SettableBeanProperty prop)
Method that wraps given property with
ObjectIdReferenceProperty
in case where object id resolution is required. |
protected SettableBeanProperty |
BeanDeserializerBase._resolveInnerClassValuedProperty(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method that will handle gruesome details of dealing with properties
that have non-static inner class as value...
|
protected SettableBeanProperty |
BeanDeserializerBase._resolveManagedReferenceProperty(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method called to see if given property is part of 'managed' property
pair (managed + back reference), and if so, handle resolution details.
|
protected SettableBeanProperty |
BeanDeserializerBase._resolveMergeAndNullSettings(DeserializationContext ctxt,
SettableBeanProperty prop,
PropertyMetadata propMetadata) |
protected void |
BeanDeserializerFactory._validateSubType(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc) |
protected void |
BeanDeserializerFactory.addBackReferenceProperties(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder)
Method that will find if bean has any managed- or back-reference properties,
and if so add them to bean, to be linked during resolution phase.
|
protected void |
BeanDeserializerFactory.addBeanProps(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder)
Method called to figure out settable properties for the
bean deserializer to use.
|
protected void |
BeanDeserializerFactory.addInjectables(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder)
Method called locate all members used for value injection (if any),
constructor
ValueInjector instances, and add them to builder. |
protected void |
BeanDeserializerFactory.addObjectIdReader(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder) |
protected void |
BeanDeserializerFactory.addReferenceProperties(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder)
Deprecated.
|
JsonDeserializer<Object> |
BeanDeserializerFactory.buildBeanDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Method that is to actually build a bean deserializer instance.
|
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) |
protected SettableAnyProperty |
BeanDeserializerFactory.constructAnySetter(DeserializationContext ctxt,
BeanDescription beanDesc,
AnnotatedMember mutator)
Method called to construct fallback
SettableAnyProperty
for handling unknown bean properties, given a method that
has been designated as such setter. |
protected BeanDeserializerBuilder |
BeanDeserializerFactory.constructBeanDeserializerBuilder(DeserializationContext ctxt,
BeanDescription beanDesc)
Overridable method that constructs a
BeanDeserializerBuilder
which is used to accumulate information needed to create deserializer
instance. |
protected SettableBeanProperty |
BasicDeserializerFactory.constructCreatorProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
PropertyName name,
int index,
AnnotatedParameter param,
JacksonInject.Value injectable)
Method that will construct a property object that represents
a logical property passed via Creator (constructor or static
factory method)
|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSettableProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanPropertyDefinition propDef,
JavaType propType0)
Method that will construct a regular bean property setter using
the given setter method.
|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSetterlessProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanPropertyDefinition propDef)
Method that will construct a regular bean property setter using
the given setter method.
|
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) |
KeyDeserializer |
ContextualKeyDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to see if a different (or differently configured) key deserializer
is needed to deserialize keys of specified Map property.
|
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.
|
JsonDeserializer<?> |
AbstractDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
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.
|
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. |
Object |
ValueInstantiator.createFromBoolean(DeserializationContext ctxt,
boolean value) |
Object |
ValueInstantiator.createFromDouble(DeserializationContext ctxt,
double value) |
Object |
ValueInstantiator.createFromInt(DeserializationContext ctxt,
int value) |
Object |
ValueInstantiator.createFromLong(DeserializationContext ctxt,
long value) |
Object |
ValueInstantiator.createFromObjectWith(DeserializationContext ctxt,
Object[] args)
Method called to create value instance from JSON Object when
instantiation arguments are passed; this is done, for example when passing information
specified with "Creator" annotations.
|
Object |
ValueInstantiator.createFromObjectWith(DeserializationContext ctxt,
SettableBeanProperty[] props,
PropertyValueBuffer buffer)
Method that delegates to
ValueInstantiator.createFromObjectWith(DeserializationContext, Object[]) by
default, but can be overridden if the application should have customized
behavior with respect to missing properties. |
Object |
ValueInstantiator.createFromString(DeserializationContext ctxt,
String value) |
abstract KeyDeserializer |
DeserializerFactory.createKeyDeserializer(DeserializationContext ctxt,
JavaType type)
Method called to find if factory knows how to create a key deserializer
for specified type; currently this means checking if a module has registered
possible deserializers.
|
KeyDeserializer |
BasicDeserializerFactory.createKeyDeserializer(DeserializationContext ctxt,
JavaType type) |
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) |
Object |
ValueInstantiator.createUsingArrayDelegate(DeserializationContext ctxt,
Object delegate)
Method to called to create value instance from JSON Array using
an intermediate "delegate" value to pass to createor method
|
Object |
ValueInstantiator.createUsingDefault(DeserializationContext ctxt)
Method called to create value instance from a JSON value when
no data needs to passed to creator (constructor, factory method);
typically this will call the default constructor of the value object.
|
Object |
ValueInstantiator.createUsingDelegate(DeserializationContext ctxt,
Object delegate)
Method to called to create value instance from JSON Object using
an intermediate "delegate" value to pass to createor method
|
Object |
SettableBeanProperty.deserialize(JsonParser p,
DeserializationContext ctxt)
This method is needed by some specialized bean deserializers,
and also called by some
SettableBeanProperty.deserializeAndSet(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, java.lang.Object) implementations. |
Object |
BeanDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt)
Main deserialization method for bean-based objects (POJOs).
|
Object |
AbstractDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
BuilderBasedDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt)
Main deserialization method for bean-based objects (POJOs).
|
Object |
SettableAnyProperty.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object bean)
Secondary deserialization method, called in cases where POJO
instance is created as part of deserialization, potentially
after collecting some or all of the properties to set.
|
Object |
BuilderBasedDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object value)
Secondary deserialization method, called in cases where POJO
instance is created as part of deserialization, potentially
after collecting some or all of the properties to set.
|
abstract void |
SettableBeanProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance)
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate mechanism.
|
void |
SettableBeanProperty.Delegating.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
CreatorProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
SettableAnyProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance,
String propName)
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate method (a setter method).
|
Object |
BeanDeserializerBase.deserializeFromArray(JsonParser p,
DeserializationContext ctxt) |
Object |
BeanDeserializerBase.deserializeFromBoolean(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON boolean value (true, false)
|
Object |
BeanDeserializerBase.deserializeFromDouble(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON floating-point
number.
|
Object |
BeanDeserializerBase.deserializeFromEmbedded(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeFromNull(JsonParser p,
DeserializationContext ctxt)
Helper method called for rare case of pointing to
JsonToken.VALUE_NULL
token. |
Object |
BeanDeserializerBase.deserializeFromNumber(JsonParser p,
DeserializationContext ctxt) |
abstract Object |
BeanDeserializerBase.deserializeFromObject(JsonParser p,
DeserializationContext ctxt)
General version used when handling needs more advanced
features.
|
Object |
BeanDeserializer.deserializeFromObject(JsonParser p,
DeserializationContext ctxt)
General version used when handling needs more advanced features.
|
Object |
BuilderBasedDeserializer.deserializeFromObject(JsonParser p,
DeserializationContext ctxt)
General version used when handling needs more advanced
features.
|
protected Object |
BeanDeserializerBase.deserializeFromObjectId(JsonParser p,
DeserializationContext ctxt)
Method called in cases where it looks like we got an Object Id
to parse and use as a reference.
|
protected Object |
BeanDeserializerBase.deserializeFromObjectUsingNonDefault(JsonParser p,
DeserializationContext ctxt) |
Object |
BeanDeserializerBase.deserializeFromString(JsonParser p,
DeserializationContext ctxt) |
abstract Object |
SettableBeanProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance)
Alternative to
SettableBeanProperty.deserializeAndSet(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, java.lang.Object) that returns
either return value of setter method called (if one is),
or null to indicate that no return value is available. |
Object |
SettableBeanProperty.Delegating.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
CreatorProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
protected Object |
BeanDeserializer.deserializeUsingPropertyBasedWithExternalTypeId(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BuilderBasedDeserializer.deserializeUsingPropertyBasedWithExternalTypeId(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeUsingPropertyBasedWithUnwrapped(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BuilderBasedDeserializer.deserializeUsingPropertyBasedWithUnwrapped(JsonParser p,
DeserializationContext ctxt) |
Object |
SettableBeanProperty.deserializeWith(JsonParser p,
DeserializationContext ctxt,
Object toUpdate) |
protected Object |
BeanDeserializer.deserializeWithExternalTypeId(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BuilderBasedDeserializer.deserializeWithExternalTypeId(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeWithExternalTypeId(JsonParser p,
DeserializationContext ctxt,
Object bean) |
protected Object |
BuilderBasedDeserializer.deserializeWithExternalTypeId(JsonParser p,
DeserializationContext ctxt,
Object bean) |
protected Object |
BeanDeserializerBase.deserializeWithObjectId(JsonParser p,
DeserializationContext ctxt)
Alternative deserialization method used when we expect to see Object Id;
if so, we will need to ensure that the Id is seen before anything
else, to ensure that it is available for solving references,
even if JSON itself is not ordered that way.
|
Object |
BeanDeserializerBase.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
AbstractDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
protected Object |
BeanDeserializer.deserializeWithUnwrapped(JsonParser p,
DeserializationContext ctxt)
Method called when there are declared "unwrapped" properties
which need special handling
|
protected Object |
BuilderBasedDeserializer.deserializeWithUnwrapped(JsonParser p,
DeserializationContext ctxt)
Method called when there are declared "unwrapped" properties
which need special handling
|
protected Object |
BeanDeserializer.deserializeWithUnwrapped(JsonParser p,
DeserializationContext ctxt,
Object bean) |
protected Object |
BuilderBasedDeserializer.deserializeWithUnwrapped(JsonParser p,
DeserializationContext ctxt,
Object builder,
TokenBuffer tokens) |
protected Object |
BeanDeserializer.deserializeWithView(JsonParser p,
DeserializationContext ctxt,
Object bean,
Class<?> activeView) |
protected Object |
BuilderBasedDeserializer.deserializeWithView(JsonParser p,
DeserializationContext ctxt,
Object bean,
Class<?> activeView) |
protected List<BeanPropertyDefinition> |
BeanDeserializerFactory.filterBeanProps(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder,
List<BeanPropertyDefinition> propDefsIn,
Set<String> ignored)
Helper method called to filter out explicit ignored properties,
as well as properties that have "ignorable types".
|
protected JsonDeserializer<Object> |
BasicDeserializerFactory.findContentDeserializerFromAnnotation(DeserializationContext ctxt,
Annotated ann) |
protected Converter<Object,Object> |
DeserializerCache.findConverter(DeserializationContext ctxt,
Annotated a) |
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.
|
Object |
CreatorProperty.findInjectableValue(DeserializationContext context,
Object beanInstance)
Method that can be called to locate value to be injected for this
property, if it is configured for this.
|
KeyDeserializer |
DeserializerCache.findKeyDeserializer(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type)
Method called to get hold of a deserializer to use for deserializing
keys for
Map . |
protected KeyDeserializer |
BasicDeserializerFactory.findKeyDeserializerFromAnnotation(DeserializationContext ctxt,
Annotated ann)
Helper method called to check if a class or method
has annotation that tells which class to use for deserialization of
Map keys. |
protected JsonDeserializer<?> |
BasicDeserializerFactory.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<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).
|
abstract ValueInstantiator |
DeserializerFactory.findValueInstantiator(DeserializationContext ctxt,
BeanDescription beanDesc)
Method that is to find all creators (constructors, factory methods)
for the bean type to deserialize.
|
ValueInstantiator |
BasicDeserializerFactory.findValueInstantiator(DeserializationContext ctxt,
BeanDescription beanDesc)
Value instantiator is created both based on creator annotations,
and on optional externally provided instantiators (registered through
module interface).
|
protected Object |
BuilderBasedDeserializer.finishBuild(DeserializationContext ctxt,
Object builder) |
Object |
BeanDeserializerBase.getEmptyValue(DeserializationContext ctxt) |
Object |
NullValueProvider.getNullValue(DeserializationContext ctxt)
Method called to possibly convert incoming `null` token (read via
underlying streaming input source) into other value of type accessor
supports.
|
protected void |
BeanDeserializerBase.handleIgnoredProperty(JsonParser p,
DeserializationContext ctxt,
Object beanOrClass,
String propName)
Method called when an explicitly ignored property (one specified with a
name to match, either by property annotation or class annotation) is encountered.
|
Object |
DeserializationProblemHandler.handleInstantiationProblem(DeserializationContext ctxt,
Class<?> instClass,
Object argument,
Throwable t)
Method called when instance creation for a type fails due to an exception.
|
Object |
DeserializationProblemHandler.handleMissingInstantiator(DeserializationContext ctxt,
Class<?> instClass,
JsonParser p,
String msg)
Deprecated.
Since 2.9: use variant that takes
ValueInstantiator |
Object |
DeserializationProblemHandler.handleMissingInstantiator(DeserializationContext ctxt,
Class<?> instClass,
ValueInstantiator valueInsta,
JsonParser p,
String msg)
Method called when instance creation for a type fails due to lack of an
instantiator.
|
JavaType |
DeserializationProblemHandler.handleMissingTypeId(DeserializationContext ctxt,
JavaType baseType,
TypeIdResolver idResolver,
String failureMsg)
Handler method called if an expected type id for a polymorphic value is
not found and no "default type" is specified or allowed.
|
protected Object |
BeanDeserializerBase.handlePolymorphic(JsonParser p,
DeserializationContext ctxt,
Object bean,
TokenBuffer unknownTokens)
Method called in cases where we may have polymorphic deserialization
case: that is, type of Creator-constructed bean is not the type
of deserializer itself.
|
Object |
DeserializationProblemHandler.handleUnexpectedToken(DeserializationContext ctxt,
Class<?> targetType,
JsonToken t,
JsonParser p,
String failureMsg)
Deprecated.
Since 2.10
|
Object |
DeserializationProblemHandler.handleUnexpectedToken(DeserializationContext ctxt,
JavaType targetType,
JsonToken t,
JsonParser p,
String failureMsg)
Method that deserializers should call if the first token of the value to
deserialize is of unexpected type (that is, type of token that deserializer
cannot handle).
|
protected Object |
BeanDeserializerBase.handleUnknownProperties(DeserializationContext ctxt,
Object bean,
TokenBuffer unknownTokens)
Method called to handle set of one or more unknown properties,
stored in their entirety in given
TokenBuffer
(as field entries, name and value). |
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.
|
protected void |
BeanDeserializerBase.handleUnknownProperty(JsonParser p,
DeserializationContext ctxt,
Object beanOrClass,
String propName)
Method called when a JSON property is encountered that has not matching
setter, any-setter or field, and thus cannot be assigned.
|
JavaType |
DeserializationProblemHandler.handleUnknownTypeId(DeserializationContext ctxt,
JavaType baseType,
String subTypeId,
TypeIdResolver idResolver,
String failureMsg)
Handler method called if resolution of type id from given String failed
to produce a subtype; usually because logical id is not mapped to actual
implementation class.
|
protected void |
BeanDeserializerBase.handleUnknownVanilla(JsonParser p,
DeserializationContext ctxt,
Object beanOrBuilder,
String propName)
Helper method called for an unknown property, when using "vanilla"
processing.
|
Object |
DeserializationProblemHandler.handleWeirdKey(DeserializationContext ctxt,
Class<?> rawKeyType,
String keyValue,
String failureMsg)
Method called when a property name from input cannot be converted to a
non-Java-String key type (passed as
rawKeyType ) due to format problem. |
Object |
DeserializationProblemHandler.handleWeirdNativeValue(DeserializationContext ctxt,
JavaType targetType,
Object valueToConvert,
JsonParser p)
Method called when an embedded (native) value (
JsonToken.VALUE_EMBEDDED_OBJECT )
cannot be converted directly into expected value type (usually POJO). |
Object |
DeserializationProblemHandler.handleWeirdNumberValue(DeserializationContext ctxt,
Class<?> targetType,
Number valueToConvert,
String failureMsg)
Method called when a numeric value (integral or floating-point from input
cannot be converted to a non-numeric value type due to specific problem
(as opposed to numeric values never being usable).
|
Object |
DeserializationProblemHandler.handleWeirdStringValue(DeserializationContext ctxt,
Class<?> targetType,
String valueToConvert,
String failureMsg)
Method called when a String value
cannot be converted to a non-String value type due to specific problem
(as opposed to String values never being usable).
|
boolean |
DeserializerCache.hasValueDeserializerFor(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type)
Method called to find out whether provider would be able to find
a deserializer for given type, using a root reference (i.e.
|
void |
CreatorProperty.inject(DeserializationContext context,
Object beanInstance)
Method to find value to inject, and inject it to this property.
|
protected void |
BeanDeserializerBase.injectValues(DeserializationContext ctxt,
Object bean) |
protected JavaType |
BeanDeserializerFactory.materializeAbstractType(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc) |
protected JavaType |
BasicDeserializerFactory.modifyTypeByAnnotation(DeserializationContext ctxt,
Annotated a,
JavaType type)
|
void |
ResolvableDeserializer.resolve(DeserializationContext ctxt)
Method called after deserializer instance has been constructed
(and registered as necessary by provider objects),
but before it has returned it to the caller.
|
void |
BeanDeserializerBase.resolve(DeserializationContext ctxt)
Method called to finalize setup of this deserializer,
after deserializer itself has been registered.
|
protected JavaType |
BasicDeserializerFactory.resolveMemberAndTypeAnnotations(DeserializationContext ctxt,
AnnotatedMember member,
JavaType type)
Helper method used to resolve additional type-related annotation information
like type overrides, or handler (serializer, deserializer) overrides,
so that from declared field, property or constructor parameter type
is used as the base and modified based on annotations, if any.
|
protected JavaType |
BasicDeserializerFactory.resolveType(DeserializationContext ctxt,
BeanDescription beanDesc,
JavaType type,
AnnotatedMember member)
|
void |
BeanDeserializerBase.wrapAndThrow(Throwable t,
Object bean,
String fieldName,
DeserializationContext ctxt)
Method that will modify caught exception (passed in as argument)
as necessary to include reference information, and to ensure it
is a subtype of
IOException , or an unchecked exception. |
protected Object |
BeanDeserializerBase.wrapInstantiationProblem(Throwable t,
DeserializationContext ctxt) |
Constructor and Description |
---|
BeanDeserializerBuilder(BeanDescription beanDesc,
DeserializationContext ctxt) |
Modifier and Type | Field and Description |
---|---|
protected DeserializationContext |
PropertyValueBuffer._context |
Modifier and Type | Method and Description |
---|---|
protected Object |
ExternalTypeHandler._deserialize(JsonParser p,
DeserializationContext ctxt,
int index,
String typeId) |
protected void |
ExternalTypeHandler._deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object bean,
int index,
String typeId) |
protected Object |
BeanAsArrayBuilderDeserializer._deserializeFromNonArray(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanAsArrayDeserializer._deserializeFromNonArray(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanAsArrayBuilderDeserializer._deserializeNonVanilla(JsonParser p,
DeserializationContext ctxt)
Alternate deserialization method that has to check many more configuration
aspects than the "vanilla" processing.
|
protected Object |
BeanAsArrayDeserializer._deserializeNonVanilla(JsonParser p,
DeserializationContext ctxt)
Alternate deserialization method that has to check many more configuration
aspects than the "vanilla" processing.
|
protected Object |
BeanAsArrayBuilderDeserializer._deserializeUsingPropertyBased(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize bean using "property-based creator":
this means that a non-default constructor or factory method is
called, and then possibly other setters.
|
protected Object |
BeanAsArrayDeserializer._deserializeUsingPropertyBased(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize bean using "property-based creator":
this means that a non-default constructor or factory method is
called, and then possibly other setters.
|
Object |
PropertyBasedCreator.build(DeserializationContext ctxt,
PropertyValueBuffer buffer) |
Object |
ExternalTypeHandler.complete(JsonParser p,
DeserializationContext ctxt,
Object bean)
Method called after JSON Object closes, and has to ensure that all external
type ids have been handled.
|
Object |
ExternalTypeHandler.complete(JsonParser p,
DeserializationContext ctxt,
PropertyValueBuffer buffer,
PropertyBasedCreator creator)
Variant called when creation of the POJO involves buffering of creator properties
as well as property-based creator.
|
static PropertyBasedCreator |
PropertyBasedCreator.construct(DeserializationContext ctxt,
ValueInstantiator valueInstantiator,
SettableBeanProperty[] srcCreatorProps)
Deprecated.
|
static PropertyBasedCreator |
PropertyBasedCreator.construct(DeserializationContext ctxt,
ValueInstantiator valueInstantiator,
SettableBeanProperty[] srcCreatorProps,
BeanPropertyMap allProperties)
Factory method used for building actual instances to be used with POJOS:
resolves deserializers, checks for "null values".
|
static PropertyBasedCreator |
PropertyBasedCreator.construct(DeserializationContext ctxt,
ValueInstantiator valueInstantiator,
SettableBeanProperty[] srcCreatorProps,
boolean caseInsensitive)
Factory method used for building actual instances to be used with types
OTHER than POJOs.
|
ValueInstantiator |
CreatorCollector.constructValueInstantiator(DeserializationContext ctxt) |
Object |
BeanAsArrayBuilderDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
TypeWrappedDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
FailingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
ErrorThrowingDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Object |
BeanAsArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
BeanAsArrayBuilderDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object value) |
Object |
TypeWrappedDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object intoValue) |
Object |
BeanAsArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object bean) |
void |
SetterlessProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
InnerClassProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object bean) |
void |
MethodProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
MergingSettableBeanProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
ObjectIdReferenceProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
FieldProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
ManagedReferenceProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
ObjectIdValueProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
BeanAsArrayBuilderDeserializer.deserializeFromObject(JsonParser p,
DeserializationContext ctxt) |
Object |
BeanAsArrayDeserializer.deserializeFromObject(JsonParser p,
DeserializationContext ctxt) |
Object |
SetterlessProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
InnerClassProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
MethodProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
MergingSettableBeanProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
ObjectIdReferenceProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
FieldProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
ManagedReferenceProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
ObjectIdValueProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
TypeWrappedDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
boolean |
BeanPropertyMap.findDeserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object bean,
String key)
Convenience method that tries to find property with given name, and
if it is found, call
SettableBeanProperty.deserializeAndSet(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, java.lang.Object)
on it, and return true; or, if not found, return false. |
static JsonDeserializer<?> |
JavaUtilCollectionsDeserializers.findForCollection(DeserializationContext ctxt,
JavaType type) |
static JsonDeserializer<?> |
JavaUtilCollectionsDeserializers.findForMap(DeserializationContext ctxt,
JavaType type) |
Object |
ValueInjector.findValue(DeserializationContext context,
Object beanInstance) |
protected Object |
BeanAsArrayBuilderDeserializer.finishBuild(DeserializationContext ctxt,
Object builder) |
Object |
TypeWrappedDeserializer.getEmptyValue(DeserializationContext ctxt) |
Object |
NullsFailProvider.getNullValue(DeserializationContext ctxt) |
Object |
TypeWrappedDeserializer.getNullValue(DeserializationContext ctxt) |
Object |
NullsAsEmptyProvider.getNullValue(DeserializationContext ctxt) |
Object |
NullsConstantProvider.getNullValue(DeserializationContext ctxt) |
Object |
PropertyValueBuffer.handleIdValue(DeserializationContext ctxt,
Object bean)
Helper method called to handle Object Id value collected earlier, if any
|
boolean |
ExternalTypeHandler.handlePropertyValue(JsonParser p,
DeserializationContext ctxt,
String propName,
Object bean)
Method called to ask handler to handle value of given property,
at point where parser points to the first token of the value.
|
boolean |
ExternalTypeHandler.handleTypePropertyValue(JsonParser p,
DeserializationContext ctxt,
String propName,
Object bean)
Method called to see if given property/value pair is an external type
id; and if so handle it.
|
void |
ValueInjector.inject(DeserializationContext context,
Object beanInstance) |
Object |
UnwrappedPropertyHandler.processUnwrapped(JsonParser originalParser,
DeserializationContext ctxt,
Object bean,
TokenBuffer buffered) |
Object |
ObjectIdReader.readObjectReference(JsonParser jp,
DeserializationContext ctxt)
Method called to read value that is expected to be an Object Reference
(that is, value of an Object Id used to refer to another object).
|
PropertyValueBuffer |
PropertyBasedCreator.startBuilding(JsonParser p,
DeserializationContext ctxt,
ObjectIdReader oir)
Method called when starting to build a bean instance.
|
boolean |
ReadableObjectId.tryToResolveUnresolved(DeserializationContext ctxt)
Method called by
DeserializationContext at the end of deserialization
if this Object Id was not resolved during normal processing. |
protected void |
BeanPropertyMap.wrapAndThrow(Throwable t,
Object bean,
String fieldName,
DeserializationContext ctxt) |
Constructor and Description |
---|
PropertyBasedCreator(DeserializationContext ctxt,
ValueInstantiator valueInstantiator,
SettableBeanProperty[] creatorProps,
boolean caseInsensitive,
boolean addAliases) |
PropertyValueBuffer(JsonParser p,
DeserializationContext ctxt,
int paramCount,
ObjectIdReader oir) |
Modifier and Type | Method and Description |
---|---|
protected Object |
StdDeserializer._coerceEmptyString(DeserializationContext ctxt,
boolean isPrimitive)
Method called when JSON String with value "" (that is, zero length) is encountered.
|
protected Object |
StdDeserializer._coerceIntegral(JsonParser p,
DeserializationContext ctxt)
Helper method called in case where an integral number is encountered, but
config settings suggest that a coercion may be needed to "upgrade"
Number into "bigger" type like Long or
BigInteger |
protected Object |
StdDeserializer._coerceNullToken(DeserializationContext ctxt,
boolean isPrimitive)
Method to call when JSON `null` token is encountered.
|
protected Object |
StdDeserializer._coerceTextualNull(DeserializationContext ctxt,
boolean isPrimitive)
Method called when JSON String with value "null" is encountered.
|
protected EnumSet<?> |
EnumSetDeserializer._deserialize(JsonParser p,
DeserializationContext ctxt,
EnumSet result) |
protected abstract T |
FromStringDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected Object |
FromStringDeserializer.Std._deserialize(String value,
DeserializationContext ctxt) |
protected UUID |
UUIDDeserializer._deserialize(String id,
DeserializationContext ctxt) |
protected String[] |
StringArrayDeserializer._deserializeCustom(JsonParser p,
DeserializationContext ctxt,
String[] old)
Offlined version used when we do not use the default deserialization method.
|
protected T |
FromStringDeserializer._deserializeEmbedded(Object ob,
DeserializationContext ctxt) |
protected UUID |
UUIDDeserializer._deserializeEmbedded(Object ob,
DeserializationContext ctxt) |
protected T |
StdDeserializer._deserializeFromArray(JsonParser p,
DeserializationContext ctxt)
Helper method that allows easy support for array-related
DeserializationFeature s
`ACCEPT_EMPTY_ARRAY_AS_NULL_OBJECT` and `UNWRAP_SINGLE_VALUE_ARRAYS`: checks for either
empty array, or single-value array-wrapped value (respectively), and either reports
an exception (if no match, or feature(s) not enabled), or returns appropriate
result value. |
protected T |
StdDeserializer._deserializeFromEmpty(JsonParser p,
DeserializationContext ctxt)
Helper method that may be used to support fallback for Empty String / Empty Array
non-standard representations; usually for things serialized as JSON Objects.
|
protected Object |
EnumDeserializer._deserializeOther(JsonParser p,
DeserializationContext ctxt) |
Map<Object,Object> |
MapDeserializer._deserializeUsingCreator(JsonParser p,
DeserializationContext ctxt) |
EnumMap<?,?> |
EnumMapDeserializer._deserializeUsingProperties(JsonParser p,
DeserializationContext ctxt) |
protected Collection<Object> |
CollectionDeserializer._deserializeWithObjectId(JsonParser p,
DeserializationContext ctxt,
Collection<Object> result) |
protected T |
StdDeserializer._deserializeWrappedValue(JsonParser p,
DeserializationContext ctxt)
Helper called to support
DeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS :
default implementation simply calls
JsonDeserializer.deserialize(JsonParser, DeserializationContext) ,
but handling may be overridden. |
protected void |
StdDeserializer._failDoubleToIntCoercion(JsonParser p,
DeserializationContext ctxt,
String type) |
protected void |
PrimitiveArrayDeserializers._failOnNull(DeserializationContext ctxt) |
protected JsonDeserializer<Object> |
UntypedObjectDeserializer._findCustomDeser(DeserializationContext ctxt,
JavaType type) |
protected NullValueProvider |
StdDeserializer._findNullProvider(DeserializationContext ctxt,
BeanProperty prop,
Nulls nulls,
JsonDeserializer<?> valueDeser) |
protected CompactStringObjectMap |
EnumDeserializer._getToStringLookup(DeserializationContext ctxt) |
protected Object |
StdDelegatingDeserializer._handleIncompatibleUpdateValue(JsonParser p,
DeserializationContext ctxt,
Object intoValue)
Overridable handler method called when
StdDelegatingDeserializer.deserialize(JsonParser, DeserializationContext, Object)
has been called with a value that is not compatible with delegate value. |
protected Object |
StdKeyDeserializer._parse(String key,
DeserializationContext ctxt) |
protected Boolean |
NumberDeserializers.BooleanDeserializer._parseBoolean(JsonParser p,
DeserializationContext ctxt) |
protected boolean |
StdDeserializer._parseBooleanFromInt(JsonParser p,
DeserializationContext ctxt) |
protected boolean |
StdDeserializer._parseBooleanPrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Byte |
NumberDeserializers.ByteDeserializer._parseByte(JsonParser p,
DeserializationContext ctxt) |
protected byte |
StdDeserializer._parseBytePrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Date |
DateDeserializers.DateBasedDeserializer._parseDate(JsonParser p,
DeserializationContext ctxt) |
protected Date |
StdDeserializer._parseDate(JsonParser p,
DeserializationContext ctxt) |
protected Date |
StdDeserializer._parseDate(String value,
DeserializationContext ctxt) |
protected Date |
StdDeserializer._parseDateFromArray(JsonParser p,
DeserializationContext ctxt) |
protected Double |
NumberDeserializers.DoubleDeserializer._parseDouble(JsonParser p,
DeserializationContext ctxt) |
protected double |
StdDeserializer._parseDoublePrimitive(DeserializationContext ctxt,
String text) |
protected double |
StdDeserializer._parseDoublePrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Float |
NumberDeserializers.FloatDeserializer._parseFloat(JsonParser p,
DeserializationContext ctxt) |
protected float |
StdDeserializer._parseFloatPrimitive(DeserializationContext ctxt,
String text) |
protected float |
StdDeserializer._parseFloatPrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Integer |
NumberDeserializers.IntegerDeserializer._parseInteger(JsonParser p,
DeserializationContext ctxt) |
protected int |
StdDeserializer._parseIntPrimitive(DeserializationContext ctxt,
String text) |
protected int |
StdDeserializer._parseIntPrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Long |
NumberDeserializers.LongDeserializer._parseLong(JsonParser p,
DeserializationContext ctxt) |
protected long |
StdDeserializer._parseLongPrimitive(DeserializationContext ctxt,
String text) |
protected long |
StdDeserializer._parseLongPrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Short |
NumberDeserializers.ShortDeserializer._parseShort(JsonParser p,
DeserializationContext ctxt) |
protected short |
StdDeserializer._parseShortPrimitive(JsonParser p,
DeserializationContext ctxt) |
protected String |
StdDeserializer._parseString(JsonParser p,
DeserializationContext ctxt)
Helper method used for accessing String value, if possible, doing
necessary conversion or throwing exception as necessary.
|
protected void |
MapDeserializer._readAndBind(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> result) |
protected void |
MapDeserializer._readAndBindStringKeyMap(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> result)
Optimized method used when keys can be deserialized as plain old
String s, and there is no custom deserialized
specified. |
protected void |
MapDeserializer._readAndUpdate(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> result) |
protected void |
MapDeserializer._readAndUpdateStringKeyMap(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> result)
Optimized method used when keys can be deserialized as plain old
String s, and there is no custom deserializer
specified. |
protected void |
StdDeserializer._reportFailedNullCoerce(DeserializationContext ctxt,
boolean state,
Enum<?> feature,
String inputDesc) |
protected void |
StdDeserializer._verifyEndArrayForSingle(JsonParser p,
DeserializationContext ctxt) |
protected void |
StdDeserializer._verifyNullForPrimitive(DeserializationContext ctxt) |
protected void |
StdDeserializer._verifyNullForPrimitiveCoercion(DeserializationContext ctxt,
String str) |
protected void |
StdDeserializer._verifyNullForScalarCoercion(DeserializationContext ctxt,
String str) |
protected void |
StdDeserializer._verifyNumberForScalarCoercion(DeserializationContext ctxt,
JsonParser p) |
protected void |
StdDeserializer._verifyStringForScalarCoercion(DeserializationContext ctxt,
String str) |
protected Object |
StdKeyDeserializer._weirdKey(DeserializationContext ctxt,
String key,
Exception e) |
protected EnumMap<?,?> |
EnumMapDeserializer.constructMap(DeserializationContext ctxt) |
protected StackTraceElement |
StackTraceElementDeserializer.constructValue(DeserializationContext ctxt,
String className,
String methodName,
String fileName,
int lineNumber,
String moduleName,
String moduleVersion)
Deprecated.
|
protected StackTraceElement |
StackTraceElementDeserializer.constructValue(DeserializationContext ctxt,
String className,
String methodName,
String fileName,
int lineNumber,
String moduleName,
String moduleVersion,
String classLoaderName)
Overridable factory method used for constructing
StackTraceElement s. |
abstract T |
StdNodeBasedDeserializer.convert(JsonNode root,
DeserializationContext ctxt) |
JsonDeserializer<?> |
DateDeserializers.DateBasedDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
StringCollectionDeserializer.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<?> |
StdDelegatingDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
DelegatingDeserializer.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<?> |
ReferenceTypeDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
EnumSetDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
EnumDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
CollectionDeserializer |
CollectionDeserializer.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<?> |
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<?> |
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<?> |
PrimitiveArrayDeserializers.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.
|
protected Collection<Object> |
ArrayBlockingQueueDeserializer.createDefaultInstance(DeserializationContext ctxt) |
protected Collection<Object> |
CollectionDeserializer.createDefaultInstance(DeserializationContext ctxt) |
Object |
StdValueInstantiator.createFromBoolean(DeserializationContext ctxt,
boolean value) |
Object |
StdValueInstantiator.createFromDouble(DeserializationContext ctxt,
double value) |
Object |
StdValueInstantiator.createFromInt(DeserializationContext ctxt,
int value) |
Object |
StdValueInstantiator.createFromLong(DeserializationContext ctxt,
long value) |
Object |
StdValueInstantiator.createFromObjectWith(DeserializationContext ctxt,
Object[] args) |
Object |
JsonLocationInstantiator.createFromObjectWith(DeserializationContext ctxt,
Object[] args) |
Object |
StdValueInstantiator.createFromString(DeserializationContext ctxt,
String value) |
Object |
StdValueInstantiator.createUsingArrayDelegate(DeserializationContext ctxt,
Object delegate) |
Object |
StdValueInstantiator.createUsingDefault(DeserializationContext ctxt) |
Object |
StdValueInstantiator.createUsingDelegate(DeserializationContext ctxt,
Object delegate) |
Calendar |
DateDeserializers.CalendarDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Date |
DateDeserializers.DateDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Date |
DateDeserializers.SqlDateDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Timestamp |
DateDeserializers.TimestampDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
T |
FromStringDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Collection<String> |
StringCollectionDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
TokenBuffer |
TokenBufferDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
EnumMap<?,?> |
EnumMapDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
T |
StdDelegatingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
DelegatingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Map<Object,Object> |
MapDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
T |
ReferenceTypeDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
AtomicBoolean |
AtomicBooleanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
String |
StringDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
ByteBuffer |
ByteBufferDeserializer.deserialize(JsonParser parser,
DeserializationContext cx) |
EnumSet<?> |
EnumSetDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
EnumDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Collection<Object> |
CollectionDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
NullifyingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
JsonNode |
JsonNodeDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt)
Implementation that will produce types of any JSON nodes; not just one
deserializer is registered to handle (in case of more specialized handler).
|
Object |
UntypedObjectDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
UntypedObjectDeserializer.Vanilla.deserialize(JsonParser p,
DeserializationContext ctxt) |
T |
StdNodeBasedDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Object[] |
ObjectArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Boolean |
NumberDeserializers.BooleanDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Byte |
NumberDeserializers.ByteDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Short |
NumberDeserializers.ShortDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Character |
NumberDeserializers.CharacterDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Integer |
NumberDeserializers.IntegerDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Long |
NumberDeserializers.LongDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Float |
NumberDeserializers.FloatDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Double |
NumberDeserializers.DoubleDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
NumberDeserializers.NumberDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
BigInteger |
NumberDeserializers.BigIntegerDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
BigDecimal |
NumberDeserializers.BigDecimalDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Map.Entry<Object,Object> |
MapEntryDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
String[] |
StringArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
StackTraceElement |
StackTraceElementDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
ByteBuffer |
ByteBufferDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
ByteBuffer intoValue) |
Collection<Object> |
ArrayBlockingQueueDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Collection<Object> result0) |
Collection<Object> |
CollectionDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Collection<Object> result) |
Collection<String> |
StringCollectionDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Collection<String> result) |
EnumMap<?,?> |
EnumMapDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
EnumMap result) |
EnumSet<?> |
EnumSetDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
EnumSet<?> result) |
Map.Entry<Object,Object> |
MapEntryDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Map.Entry<Object,Object> result) |
Map<Object,Object> |
MapDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> result) |
T |
StdDelegatingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object intoValue) |
Object |
DelegatingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object intoValue) |
Object |
UntypedObjectDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object intoValue) |
Object |
UntypedObjectDeserializer.Vanilla.deserialize(JsonParser p,
DeserializationContext ctxt,
Object intoValue) |
Object[] |
ObjectArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object[] intoValue) |
String[] |
StringArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
String[] intoValue) |
T |
ReferenceTypeDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
T reference) |
T |
StdScalarDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
T intoValue)
Overridden to simply call
deserialize() method that does not take value
to update, since scalar values are usually non-mergeable. |
T |
PrimitiveArrayDeserializers.deserialize(JsonParser p,
DeserializationContext ctxt,
T existing) |
protected Byte[] |
ObjectArrayDeserializer.deserializeFromBase64(JsonParser p,
DeserializationContext ctxt) |
Object |
ThrowableDeserializer.deserializeFromObject(JsonParser p,
DeserializationContext ctxt) |
Object |
StdKeyDeserializer.deserializeKey(String key,
DeserializationContext ctxt) |
Object |
StringCollectionDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
EnumMapDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
ArrayBlockingQueueDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StdDelegatingDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
DelegatingDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StdDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
Base implementation that does not assume specific type
inclusion mechanism.
|
Object |
MapDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
ReferenceTypeDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
String |
StringDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
EnumSetDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
CollectionDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
NullifyingDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StdScalarDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
UntypedObjectDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
UntypedObjectDeserializer.Vanilla.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StdNodeBasedDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer td) |
Object[] |
ObjectArrayDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Boolean |
NumberDeserializers.BooleanDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Integer |
NumberDeserializers.IntegerDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Double |
NumberDeserializers.DoubleDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
NumberDeserializers.NumberDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
As mentioned in class Javadoc, there is additional complexity in
handling potentially mixed type information here.
|
Object |
MapEntryDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
PrimitiveArrayDeserializers.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StringArrayDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
protected NullValueProvider |
StdDeserializer.findContentNullProvider(DeserializationContext ctxt,
BeanProperty prop,
JsonDeserializer<?> valueDeser)
Method called to find
NullValueProvider for a contents of a structured
primary property (Collection, Map, array), using
"content nulls" setting. |
protected Nulls |
StdDeserializer.findContentNullStyle(DeserializationContext ctxt,
BeanProperty prop) |
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)
|
protected Boolean |
StdDeserializer.findFormatFeature(DeserializationContext ctxt,
BeanProperty prop,
Class<?> typeForDefaults,
JsonFormat.Feature feat)
Convenience method that uses
StdDeserializer.findFormatOverrides(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.BeanProperty, java.lang.Class<?>) to find possible
defaults and/of overrides, and then calls
JsonFormat.Value.getFeature(feat)
to find whether that feature has been specifically marked as enabled or disabled. |
protected JsonFormat.Value |
StdDeserializer.findFormatOverrides(DeserializationContext ctxt,
BeanProperty prop,
Class<?> typeForDefaults)
Helper method that may be used to find if this deserializer has specific
JsonFormat settings, either via property, or through type-specific
defaulting. |
protected NullValueProvider |
StdDeserializer.findValueNullProvider(DeserializationContext ctxt,
SettableBeanProperty prop,
PropertyMetadata propMetadata)
Method called to find
NullValueProvider for a primary property, using
"value nulls" setting. |
Object |
AtomicReferenceDeserializer.getEmptyValue(DeserializationContext ctxt) |
Object |
EnumMapDeserializer.getEmptyValue(DeserializationContext ctxt) |
Object |
ContainerDeserializerBase.getEmptyValue(DeserializationContext ctxt) |
Object |
DelegatingDeserializer.getEmptyValue(DeserializationContext ctxt) |
Object |
ReferenceTypeDeserializer.getEmptyValue(DeserializationContext ctxt) |
Object |
StringDeserializer.getEmptyValue(DeserializationContext ctxt) |
Object |
EnumSetDeserializer.getEmptyValue(DeserializationContext ctxt) |
Object |
ObjectArrayDeserializer.getEmptyValue(DeserializationContext ctxt) |
Object |
NumberDeserializers.PrimitiveOrWrapperDeserializer.getEmptyValue(DeserializationContext ctxt) |
Object |
NumberDeserializers.BigIntegerDeserializer.getEmptyValue(DeserializationContext ctxt) |
Object |
NumberDeserializers.BigDecimalDeserializer.getEmptyValue(DeserializationContext ctxt) |
Object |
PrimitiveArrayDeserializers.getEmptyValue(DeserializationContext ctxt) |
Object |
StringArrayDeserializer.getEmptyValue(DeserializationContext ctxt) |
AtomicReference<Object> |
AtomicReferenceDeserializer.getNullValue(DeserializationContext ctxt) |
Object |
DelegatingDeserializer.getNullValue(DeserializationContext ctxt) |
abstract T |
ReferenceTypeDeserializer.getNullValue(DeserializationContext ctxt) |
JsonNode |
JsonNodeDeserializer.getNullValue(DeserializationContext ctxt) |
T |
NumberDeserializers.PrimitiveOrWrapperDeserializer.getNullValue(DeserializationContext ctxt) |
JavaType |
StdDeserializer.getValueType(DeserializationContext ctxt)
Convenience method for getting handled type as
JavaType , regardless
of whether deserializer has one already resolved (and accessible via
StdDeserializer.getValueType() ) or not: equivalent to: |
protected void |
StdDeserializer.handleMissingEndArrayForSingle(JsonParser p,
DeserializationContext ctxt) |
protected Object[] |
ObjectArrayDeserializer.handleNonArray(JsonParser p,
DeserializationContext ctxt) |
protected T |
PrimitiveArrayDeserializers.handleNonArray(JsonParser p,
DeserializationContext ctxt) |
protected Collection<Object> |
CollectionDeserializer.handleNonArray(JsonParser p,
DeserializationContext ctxt,
Collection<Object> result)
Helper method called when current token is no START_ARRAY.
|
protected EnumSet<?> |
EnumSetDeserializer.handleNonArray(JsonParser p,
DeserializationContext ctxt,
EnumSet result) |
protected abstract T |
PrimitiveArrayDeserializers.handleSingleElementUnwrapped(JsonParser p,
DeserializationContext ctxt) |
protected void |
StdDeserializer.handleUnknownProperty(JsonParser p,
DeserializationContext ctxt,
Object instanceOrClass,
String propName)
Method called to deal with a property that did not map to a known
Bean property.
|
protected Object |
UntypedObjectDeserializer.mapArray(JsonParser p,
DeserializationContext ctxt)
Method called to map a JSON Array into a Java value.
|
protected Object |
UntypedObjectDeserializer.Vanilla.mapArray(JsonParser p,
DeserializationContext ctxt) |
protected Object |
UntypedObjectDeserializer.mapArray(JsonParser p,
DeserializationContext ctxt,
Collection<Object> result) |
protected Object[] |
UntypedObjectDeserializer.mapArrayToArray(JsonParser p,
DeserializationContext ctxt)
Method called to map a JSON Array into a Java Object array (Object[]).
|
protected Object[] |
UntypedObjectDeserializer.Vanilla.mapArrayToArray(JsonParser p,
DeserializationContext ctxt)
Method called to map a JSON Array into a Java Object array (Object[]).
|
protected Object |
UntypedObjectDeserializer.mapObject(JsonParser p,
DeserializationContext ctxt)
Method called to map a JSON Object into a Java value.
|
protected Object |
UntypedObjectDeserializer.Vanilla.mapObject(JsonParser p,
DeserializationContext ctxt)
Method called to map a JSON Object into a Java value.
|
protected Object |
UntypedObjectDeserializer.mapObject(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> m) |
void |
EnumMapDeserializer.resolve(DeserializationContext ctxt) |
void |
StdDelegatingDeserializer.resolve(DeserializationContext ctxt) |
void |
DelegatingDeserializer.resolve(DeserializationContext ctxt) |
void |
MapDeserializer.resolve(DeserializationContext ctxt) |
void |
UntypedObjectDeserializer.resolve(DeserializationContext ctxt)
We need to implement this method to properly find things to delegate
to: it cannot be done earlier since delegated deserializers almost
certainly require access to this instance (at least "List" and "Map" ones)
|
void |
StdNodeBasedDeserializer.resolve(DeserializationContext ctxt) |
protected JsonMappingException |
StdValueInstantiator.rewrapCtorProblem(DeserializationContext ctxt,
Throwable t)
Method that subclasses may call for standard handling of an exception thrown when
calling constructor or factory method.
|
protected JsonMappingException |
StdValueInstantiator.unwrapAndWrapException(DeserializationContext ctxt,
Throwable t)
|
protected JsonMappingException |
StdValueInstantiator.wrapAsJsonMappingException(DeserializationContext ctxt,
Throwable t)
Helper method that will return given
Throwable case as
a JsonMappingException (if it is of that type), or call
instantiationException(Class, Throwable) to
produce and return suitable JsonMappingException . |
Modifier and Type | Method and Description |
---|---|
static InvalidNullException |
InvalidNullException.from(DeserializationContext ctxt,
PropertyName name,
JavaType type) |
Constructor and Description |
---|
InvalidNullException(DeserializationContext ctxt,
String msg,
PropertyName pname) |
Modifier and Type | Method and Description |
---|---|
protected Object |
CoreXMLDeserializers.Std._deserialize(String value,
DeserializationContext ctxt) |
abstract T |
DOMDeserializer._deserialize(String value,
DeserializationContext ctxt) |
Node |
DOMDeserializer.NodeDeserializer._deserialize(String value,
DeserializationContext ctxt) |
Document |
DOMDeserializer.DocumentDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected XMLGregorianCalendar |
CoreXMLDeserializers.Std._gregorianFromDate(DeserializationContext ctxt,
Date d) |
Path |
NioPathDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
CoreXMLDeserializers.Std.deserialize(JsonParser p,
DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
static Object |
TypeDeserializer.deserializeIfNatural(JsonParser p,
DeserializationContext ctxt,
Class<?> base) |
static Object |
TypeDeserializer.deserializeIfNatural(JsonParser p,
DeserializationContext ctxt,
JavaType baseType)
Helper method used to check if given parser might be pointing to
a "natural" value, and one that would be acceptable as the
result value (compatible with declared base type)
|
abstract Object |
TypeDeserializer.deserializeTypedFromAny(JsonParser p,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
may have been serialized using any kind of JSON value
(Array, Object, scalar).
|
abstract Object |
TypeDeserializer.deserializeTypedFromArray(JsonParser p,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as JSON Array (regardless of Java type).
|
abstract Object |
TypeDeserializer.deserializeTypedFromObject(JsonParser p,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as JSON Object (regardless of Java type).
|
abstract Object |
TypeDeserializer.deserializeTypedFromScalar(JsonParser p,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as a scalar JSON value (something other
than Array or Object), regardless of Java type.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
AsArrayTypeDeserializer._deserialize(JsonParser p,
DeserializationContext ctxt)
Method that handles type information wrapper, locates actual
subtype deserializer to use, and calls it to do actual
deserialization.
|
protected Object |
AsWrapperTypeDeserializer._deserialize(JsonParser p,
DeserializationContext ctxt)
Method that handles type information wrapper, locates actual
subtype deserializer to use, and calls it to do actual
deserialization.
|
protected Object |
AsPropertyTypeDeserializer._deserializeTypedForId(JsonParser p,
DeserializationContext ctxt,
TokenBuffer tb) |
protected Object |
AsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl(JsonParser p,
DeserializationContext ctxt,
TokenBuffer tb) |
protected Object |
TypeDeserializerBase._deserializeWithNativeTypeId(JsonParser jp,
DeserializationContext ctxt)
Deprecated.
|
protected Object |
TypeDeserializerBase._deserializeWithNativeTypeId(JsonParser p,
DeserializationContext ctxt,
Object typeId)
Helper method called when
JsonParser indicates that it can use
so-called native type ids, and such type id has been found. |
protected JsonDeserializer<Object> |
TypeDeserializerBase._findDefaultImplDeserializer(DeserializationContext ctxt) |
protected JsonDeserializer<Object> |
TypeDeserializerBase._findDeserializer(DeserializationContext ctxt,
String typeId) |
protected JavaType |
TypeDeserializerBase._handleMissingTypeId(DeserializationContext ctxt,
String extraDesc) |
protected JavaType |
TypeDeserializerBase._handleUnknownTypeId(DeserializationContext ctxt,
String typeId)
Helper method called when given type id cannot be resolved into
concrete deserializer either directly (using given
TypeIdResolver ),
or using default type. |
protected String |
AsArrayTypeDeserializer._locateTypeId(JsonParser p,
DeserializationContext ctxt) |
Object |
AsPropertyTypeDeserializer.deserializeTypedFromAny(JsonParser p,
DeserializationContext ctxt) |
Object |
AsArrayTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsWrapperTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsArrayTypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt)
Method called when actual object is serialized as JSON Array.
|
Object |
AsWrapperTypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsPropertyTypeDeserializer.deserializeTypedFromObject(JsonParser p,
DeserializationContext ctxt)
This is the trickiest thing to handle, since property we are looking
for may be anywhere...
|
Object |
AsArrayTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
Method called when actual object is serialized as JSON Object
|
Object |
AsWrapperTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
Deserializing type id enclosed using WRAPPER_OBJECT style is straightforward
|
Object |
AsArrayTypeDeserializer.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsWrapperTypeDeserializer.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt) |
void |
SubTypeValidator.validateSubType(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc) |
Modifier and Type | Method and Description |
---|---|
TokenBuffer |
TokenBuffer.deserialize(JsonParser p,
DeserializationContext ctxt)
Helper method used by standard deserializer.
|
static <T> T |
ClassUtil.throwAsMappingException(DeserializationContext ctxt,
IOException e0) |
Constructor and Description |
---|
TokenBuffer(JsonParser p,
DeserializationContext ctxt) |
Copyright © 2008–2020 FasterXML. All rights reserved.