|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DeserializationContext | |
---|---|
com.fasterxml.jackson.databind | Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
com.fasterxml.jackson.databind.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 | 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 . |
Uses of DeserializationContext in com.fasterxml.jackson.databind |
---|
Fields in com.fasterxml.jackson.databind declared as DeserializationContext | |
---|---|
protected DeserializationContext |
MappingIterator._context
|
Methods in com.fasterxml.jackson.databind that return DeserializationContext | |
---|---|
DeserializationContext |
ObjectMapper.getDeserializationContext()
Method for getting current DeserializationContext . |
Methods in com.fasterxml.jackson.databind with parameters of type DeserializationContext | |
---|---|
protected JsonDeserializer<Object> |
ObjectReader._findRootDeserializer(DeserializationContext ctxt,
JavaType valueType)
Method called to locate deserializer for the passed root-level value. |
protected JsonDeserializer<Object> |
ObjectMapper._findRootDeserializer(DeserializationContext ctxt,
JavaType valueType)
Method called to locate deserializer for the passed root-level value. |
protected Object |
ObjectMapper._unwrapAndDeserialize(JsonParser jp,
DeserializationContext ctxt,
DeserializationConfig config,
JavaType rootType,
JsonDeserializer<Object> deser)
|
protected Object |
ObjectReader._unwrapAndDeserialize(JsonParser jp,
DeserializationContext ctxt,
JavaType rootType,
JsonDeserializer<Object> deser)
|
abstract T |
JsonDeserializer.deserialize(JsonParser jp,
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 jp,
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 jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
Deserialization called when type being deserialized is defined to contain additional type identifier, to allow for correctly instantiating correct subtype. |
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)
|
Constructors in com.fasterxml.jackson.databind with parameters of type DeserializationContext | |
---|---|
DeserializationContext(DeserializationContext src,
DeserializationConfig config,
JsonParser jp,
InjectableValues injectableValues)
|
|
DeserializationContext(DeserializationContext src,
DeserializerFactory factory)
|
|
MappingIterator(JavaType type,
JsonParser jp,
DeserializationContext ctxt,
JsonDeserializer<?> deser)
Deprecated. Since 2.1, to be removed |
|
MappingIterator(JavaType type,
JsonParser jp,
DeserializationContext ctxt,
JsonDeserializer<?> deser,
boolean managedParser,
Object valueToUpdate)
|
Uses of DeserializationContext in com.fasterxml.jackson.databind.deser |
---|
Subclasses of DeserializationContext in com.fasterxml.jackson.databind.deser | |
---|---|
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 |
Methods in com.fasterxml.jackson.databind.deser with parameters of type DeserializationContext | ||
---|---|---|
protected void |
BasicDeserializerFactory._addDeserializerConstructors(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators)
|
|
protected void |
BasicDeserializerFactory._addDeserializerFactoryMethods(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators)
|
|
protected ValueInstantiator |
BasicDeserializerFactory._constructDefaultValueInstantiator(DeserializationContext ctxt,
BeanDescription beanDesc)
Method that will construct standard default ValueInstantiator
using annotations (like @JsonCreator) and visibility rules |
|
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 Object |
BuilderBasedDeserializer._deserialize(JsonParser jp,
DeserializationContext ctxt,
Object builder)
|
|
protected Object |
AbstractDeserializer._deserializeFromObjectId(JsonParser jp,
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 jp,
DeserializationContext ctxt)
|
|
protected Object |
BuilderBasedDeserializer._deserializeUsingPropertyBased(JsonParser jp,
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._deserializeUsingPropertyBased(JsonParser jp,
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 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 boolean |
BasicDeserializerFactory._handleSingleArgumentConstructor(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators,
AnnotatedConstructor ctor,
boolean isCreator,
boolean isVisible)
|
|
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._resolveUnwrappedProperty(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method called to see if given property might be so-called unwrapped property: these require special handling. |
|
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)
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. |
|
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,
AnnotatedMethod setter)
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 CreatorProperty |
BasicDeserializerFactory.constructCreatorProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
String name,
int index,
AnnotatedParameter param,
Object injectableValueId)
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,
Type jdkType)
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<?> |
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. |
|
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.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)
|
|
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 jp,
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 |
SettableAnyProperty.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
|
Object |
BuilderBasedDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
Main deserialization method for bean-based objects (POJOs). |
|
Object |
BeanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
Main deserialization method for bean-based objects (POJOs). |
|
Object |
AbstractDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
|
Object |
BuilderBasedDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Object builder)
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 |
BeanDeserializer.deserialize(JsonParser jp,
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. |
|
abstract void |
SettableBeanProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism. |
|
void |
CreatorProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
|
void |
SettableAnyProperty.deserializeAndSet(JsonParser jp,
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 |
BuilderBasedDeserializer.deserializeFromArray(JsonParser jp,
DeserializationContext ctxt)
|
|
Object |
BeanDeserializer.deserializeFromArray(JsonParser jp,
DeserializationContext ctxt)
|
|
Object |
BuilderBasedDeserializer.deserializeFromBoolean(JsonParser jp,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON boolean value (true, false) |
|
Object |
BeanDeserializer.deserializeFromBoolean(JsonParser jp,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON boolean value (true, false) |
|
Object |
BuilderBasedDeserializer.deserializeFromDouble(JsonParser jp,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON floating-point number. |
|
Object |
BeanDeserializer.deserializeFromDouble(JsonParser jp,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON floating-point number. |
|
Object |
BuilderBasedDeserializer.deserializeFromNumber(JsonParser jp,
DeserializationContext ctxt)
|
|
Object |
BeanDeserializer.deserializeFromNumber(JsonParser jp,
DeserializationContext ctxt)
|
|
Object |
BuilderBasedDeserializer.deserializeFromObject(JsonParser jp,
DeserializationContext ctxt)
General version used when handling needs more advanced features. |
|
Object |
BeanDeserializer.deserializeFromObject(JsonParser jp,
DeserializationContext ctxt)
General version used when handling needs more advanced features. |
|
protected Object |
BeanDeserializerBase.deserializeFromObjectId(JsonParser jp,
DeserializationContext ctxt)
Method called in cases where it looks like we got an Object Id to parse and use as a reference. |
|
protected Object |
BuilderBasedDeserializer.deserializeFromObjectUsingNonDefault(JsonParser jp,
DeserializationContext ctxt)
|
|
protected Object |
BeanDeserializer.deserializeFromObjectUsingNonDefault(JsonParser jp,
DeserializationContext ctxt)
|
|
Object |
BuilderBasedDeserializer.deserializeFromString(JsonParser jp,
DeserializationContext ctxt)
|
|
Object |
BeanDeserializer.deserializeFromString(JsonParser jp,
DeserializationContext ctxt)
|
|
abstract Object |
SettableBeanProperty.deserializeSetAndReturn(JsonParser jp,
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 |
CreatorProperty.deserializeSetAndReturn(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
|
protected Object |
BuilderBasedDeserializer.deserializeUsingPropertyBasedWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt)
|
|
protected Object |
BeanDeserializer.deserializeUsingPropertyBasedWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt)
|
|
protected Object |
BuilderBasedDeserializer.deserializeUsingPropertyBasedWithUnwrapped(JsonParser jp,
DeserializationContext ctxt)
|
|
protected Object |
BeanDeserializer.deserializeUsingPropertyBasedWithUnwrapped(JsonParser jp,
DeserializationContext ctxt)
|
|
protected Object |
BuilderBasedDeserializer.deserializeWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt)
|
|
protected Object |
BeanDeserializer.deserializeWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt)
|
|
protected Object |
BuilderBasedDeserializer.deserializeWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt,
Object bean)
|
|
protected Object |
BeanDeserializer.deserializeWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt,
Object bean)
|
|
protected Object |
BeanDeserializer.deserializeWithObjectId(JsonParser jp,
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 jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
|
Object |
AbstractDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
|
protected Object |
BuilderBasedDeserializer.deserializeWithUnwrapped(JsonParser jp,
DeserializationContext ctxt)
Method called when there are declared "unwrapped" properties which need special handling |
|
protected Object |
BeanDeserializer.deserializeWithUnwrapped(JsonParser jp,
DeserializationContext ctxt)
Method called when there are declared "unwrapped" properties which need special handling |
|
protected Object |
BuilderBasedDeserializer.deserializeWithUnwrapped(JsonParser jp,
DeserializationContext ctxt,
Object bean)
|
|
protected Object |
BeanDeserializer.deserializeWithUnwrapped(JsonParser jp,
DeserializationContext ctxt,
Object bean)
|
|
protected Object |
BuilderBasedDeserializer.deserializeWithView(JsonParser jp,
DeserializationContext ctxt,
Object bean,
Class<?> activeView)
|
|
protected Object |
BeanDeserializer.deserializeWithView(JsonParser jp,
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> |
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. |
|
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 . |
|
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)
|
|
protected Object |
BuilderBasedDeserializer.handlePolymorphic(JsonParser jp,
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. |
|
protected Object |
BeanDeserializer.handlePolymorphic(JsonParser jp,
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. |
|
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 jp,
JsonDeserializer<?> deserializer,
Object beanOrClass,
String propertyName)
Method called when a JSON Map ("Object") entry with an unrecognized name is encountered. |
|
protected void |
BeanDeserializerBase.handleUnknownProperty(JsonParser jp,
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 can not be assigned. |
|
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
|
BasicDeserializerFactory.modifyTypeByAnnotation(DeserializationContext ctxt,
Annotated a,
T type)
Method called to see if given method has annotations that indicate a more specific type than what the argument specifies. |
|
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.resolveType(DeserializationContext ctxt,
BeanDescription beanDesc,
JavaType type,
AnnotatedMember member)
Helper method used to resolve method return types and field types. |
|
void |
BeanDeserializerBase.wrapAndThrow(Throwable t,
Object bean,
int index,
DeserializationContext ctxt)
|
|
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 void |
BeanDeserializerBase.wrapInstantiationProblem(Throwable t,
DeserializationContext ctxt)
|
Uses of DeserializationContext in com.fasterxml.jackson.databind.deser.impl |
---|
Fields in com.fasterxml.jackson.databind.deser.impl declared as DeserializationContext | |
---|---|
protected DeserializationContext |
PropertyValueBuffer._context
|
Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type DeserializationContext | |
---|---|
protected Object |
ExternalTypeHandler._deserialize(JsonParser jp,
DeserializationContext ctxt,
int index)
|
protected void |
ExternalTypeHandler._deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object bean,
int index)
|
protected Object |
BeanAsArrayDeserializer._deserializeFromNonArray(JsonParser jp,
DeserializationContext ctxt)
|
protected Object |
BeanAsArrayBuilderDeserializer._deserializeFromNonArray(JsonParser jp,
DeserializationContext ctxt)
|
protected Object |
BeanAsArrayDeserializer._deserializeNonVanilla(JsonParser jp,
DeserializationContext ctxt)
Alternate deserialization method that has to check many more configuration aspects than the "vanilla" processing. |
protected Object |
BeanAsArrayBuilderDeserializer._deserializeNonVanilla(JsonParser jp,
DeserializationContext ctxt)
Alternate deserialization method that has to check many more configuration aspects than the "vanilla" processing. |
protected Object |
BeanAsArrayDeserializer._deserializeUsingPropertyBased(JsonParser jp,
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 |
BeanAsArrayBuilderDeserializer._deserializeUsingPropertyBased(JsonParser jp,
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._deserializeWithCreator(JsonParser jp,
DeserializationContext ctxt)
|
protected Object |
BeanAsArrayBuilderDeserializer._deserializeWithCreator(JsonParser jp,
DeserializationContext ctxt)
|
Object |
PropertyBasedCreator.build(DeserializationContext ctxt,
PropertyValueBuffer buffer)
|
Object |
ExternalTypeHandler.complete(JsonParser jp,
DeserializationContext ctxt,
Object bean)
|
Object |
ExternalTypeHandler.complete(JsonParser jp,
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[] srcProps)
Factory method used for building actual instances: resolves deserializers and checks for "null values". |
Object |
TypeWrappedDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object |
BeanAsArrayDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object |
BeanAsArrayBuilderDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object |
BeanAsArrayDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Object bean)
|
Object |
BeanAsArrayBuilderDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Object builder)
|
void |
SetterlessProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
void |
ObjectIdValueProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
void |
MethodProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
void |
ManagedReferenceProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
void |
InnerClassProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object bean)
|
void |
FieldProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
Object |
SetterlessProperty.deserializeSetAndReturn(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
Object |
ObjectIdValueProperty.deserializeSetAndReturn(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
Object |
MethodProperty.deserializeSetAndReturn(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
Object |
ManagedReferenceProperty.deserializeSetAndReturn(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
Object |
InnerClassProperty.deserializeSetAndReturn(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
Object |
FieldProperty.deserializeSetAndReturn(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
Object |
TypeWrappedDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Object |
ValueInjector.findValue(DeserializationContext context,
Object beanInstance)
|
protected Object |
BeanAsArrayBuilderDeserializer.finishBuild(DeserializationContext ctxt,
Object builder)
|
Object |
PropertyValueBuffer.handleIdValue(DeserializationContext ctxt,
Object bean)
Helper method called to handle Object Id value collected earlier, if any |
boolean |
ExternalTypeHandler.handlePropertyValue(JsonParser jp,
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 jp,
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 |
NullProvider.nullValue(DeserializationContext ctxt)
|
Object |
UnwrappedPropertyHandler.processUnwrapped(JsonParser originalParser,
DeserializationContext ctxt,
Object bean,
TokenBuffer buffered)
|
PropertyValueBuffer |
PropertyBasedCreator.startBuilding(JsonParser jp,
DeserializationContext ctxt,
ObjectIdReader oir)
Method called when starting to build a bean instance. |
Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type DeserializationContext | |
---|---|
PropertyValueBuffer(JsonParser jp,
DeserializationContext ctxt,
int paramCount,
ObjectIdReader oir)
|
Uses of DeserializationContext in com.fasterxml.jackson.databind.deser.std |
---|
Methods in com.fasterxml.jackson.databind.deser.std with parameters of type DeserializationContext | |
---|---|
protected JsonDeserializer<?> |
DelegatingDeserializer._createContextual(DeserializationContext ctxt,
BeanProperty property,
JsonDeserializer<?> newDelegatee)
|
protected Object |
StdValueInstantiator._createFromStringFallbacks(DeserializationContext ctxt,
String value)
|
protected UUID |
JdkDeserializers.UUIDDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected URL |
JdkDeserializers.URLDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected URI |
JdkDeserializers.URIDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected Currency |
JdkDeserializers.CurrencyDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected Pattern |
JdkDeserializers.PatternDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected Locale |
JdkDeserializers.LocaleDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected InetAddress |
JdkDeserializers.InetAddressDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected Charset |
JdkDeserializers.CharsetDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected abstract T |
FromStringDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected TimeZone |
DateDeserializers.TimeZoneDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected UUID |
JdkDeserializers.UUIDDeserializer._deserializeEmbedded(Object ob,
DeserializationContext ctxt)
|
protected T |
FromStringDeserializer._deserializeEmbedded(Object ob,
DeserializationContext ctxt)
|
Map<Object,Object> |
MapDeserializer._deserializeUsingCreator(JsonParser jp,
DeserializationContext ctxt)
|
protected abstract Object |
StdKeyDeserializer._parse(String key,
DeserializationContext ctxt)
|
protected Boolean |
StdDeserializer._parseBoolean(JsonParser jp,
DeserializationContext ctxt)
|
protected boolean |
StdDeserializer._parseBooleanFromNumber(JsonParser jp,
DeserializationContext ctxt)
|
protected boolean |
StdDeserializer._parseBooleanPrimitive(JsonParser jp,
DeserializationContext ctxt)
|
protected Byte |
StdDeserializer._parseByte(JsonParser jp,
DeserializationContext ctxt)
|
protected Date |
StdDeserializer._parseDate(JsonParser jp,
DeserializationContext ctxt)
|
protected Date |
DateDeserializers.DateBasedDeserializer._parseDate(JsonParser jp,
DeserializationContext ctxt)
|
protected Double |
StdDeserializer._parseDouble(JsonParser jp,
DeserializationContext ctxt)
|
protected double |
StdDeserializer._parseDoublePrimitive(JsonParser jp,
DeserializationContext ctxt)
|
protected Float |
StdDeserializer._parseFloat(JsonParser jp,
DeserializationContext ctxt)
|
protected float |
StdDeserializer._parseFloatPrimitive(JsonParser jp,
DeserializationContext ctxt)
|
protected Integer |
StdDeserializer._parseInteger(JsonParser jp,
DeserializationContext ctxt)
|
protected int |
StdDeserializer._parseIntPrimitive(JsonParser jp,
DeserializationContext ctxt)
|
protected Long |
StdDeserializer._parseLong(JsonParser jp,
DeserializationContext ctxt)
|
protected long |
StdDeserializer._parseLongPrimitive(JsonParser jp,
DeserializationContext ctxt)
|
protected Short |
StdDeserializer._parseShort(JsonParser jp,
DeserializationContext ctxt)
|
protected short |
StdDeserializer._parseShortPrimitive(JsonParser jp,
DeserializationContext ctxt)
|
protected String |
StdDeserializer._parseString(JsonParser jp,
DeserializationContext ctxt)
Helper method used for accessing String value, if possible, doing necessary conversion or throwing exception as necessary. |
protected void |
MapDeserializer._readAndBind(JsonParser jp,
DeserializationContext ctxt,
Map<Object,Object> result)
|
protected void |
MapDeserializer._readAndBindStringMap(JsonParser jp,
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. |
JsonDeserializer<?> |
StringCollectionDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
|
JsonDeserializer<?> |
StdDelegatingDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
|
JsonDeserializer<?> |
ObjectArrayDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
|
JsonDeserializer<?> |
MapDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer, when it is known for which property deserializer is needed for. |
JsonDeserializer<?> |
JdkDeserializers.AtomicReferenceDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
|
JsonDeserializer<?> |
EnumSetDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
|
JsonDeserializer<?> |
EnumMapDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer, when it is known for which property deserializer is needed for. |
JsonDeserializer<?> |
DelegatingDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
|
JsonDeserializer<?> |
DateDeserializers.DateBasedDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
|
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. |
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 |
JacksonDeserializers.JsonLocationInstantiator.createFromObjectWith(DeserializationContext ctxt,
Object[] args)
|
Object |
StdValueInstantiator.createFromString(DeserializationContext ctxt,
String value)
|
Object |
StdValueInstantiator.createUsingDefault(DeserializationContext ctxt)
|
Object |
StdValueInstantiator.createUsingDelegate(DeserializationContext ctxt,
Object delegate)
|
Object |
UntypedObjectDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
String |
StringDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Collection<String> |
StringCollectionDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
T |
StdDelegatingDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object[] |
ObjectArrayDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Boolean |
NumberDeserializers.BooleanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Byte |
NumberDeserializers.ByteDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Short |
NumberDeserializers.ShortDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Character |
NumberDeserializers.CharacterDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Integer |
NumberDeserializers.IntegerDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Long |
NumberDeserializers.LongDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Float |
NumberDeserializers.FloatDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Double |
NumberDeserializers.DoubleDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Number |
NumberDeserializers.NumberDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
BigInteger |
NumberDeserializers.BigIntegerDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
BigDecimal |
NumberDeserializers.BigDecimalDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Map<Object,Object> |
MapDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
JsonNode |
JsonNodeDeserializer.deserialize(JsonParser jp,
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). |
AtomicReference<?> |
JdkDeserializers.AtomicReferenceDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
AtomicBoolean |
JdkDeserializers.AtomicBooleanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
StackTraceElement |
JdkDeserializers.StackTraceElementDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
JavaType |
JacksonDeserializers.JavaTypeDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
TokenBuffer |
JacksonDeserializers.TokenBufferDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
T |
FromStringDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
EnumSet<?> |
EnumSetDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
EnumMap<?,?> |
EnumMapDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Enum<?> |
EnumDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object |
EnumDeserializer.FactoryBasedDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object |
DelegatingDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Calendar |
DateDeserializers.CalendarDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Date |
DateDeserializers.DateDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Date |
DateDeserializers.SqlDateDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Timestamp |
DateDeserializers.TimestampDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Collection<Object> |
CollectionDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Class<?> |
ClassDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Collection<Object> |
CollectionDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Collection<Object> result)
|
Collection<String> |
StringCollectionDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Collection<String> result)
|
Map<Object,Object> |
MapDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Map<Object,Object> result)
|
Object |
DelegatingDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Object intoValue)
|
protected Byte[] |
ObjectArrayDeserializer.deserializeFromBase64(JsonParser jp,
DeserializationContext ctxt)
|
Object |
ThrowableDeserializer.deserializeFromObject(JsonParser jp,
DeserializationContext ctxt)
|
Object |
StdKeyDeserializer.deserializeKey(String key,
DeserializationContext ctxt)
|
Object |
UntypedObjectDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
String |
StringDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Object |
StringCollectionDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Object |
StdScalarDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Object |
StdDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
Base implementation that does not assume specific type inclusion mechanism. |
Object |
StdDelegatingDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Object |
PrimitiveArrayDeserializers.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Object[] |
ObjectArrayDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Boolean |
NumberDeserializers.BooleanDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Integer |
NumberDeserializers.IntegerDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Double |
NumberDeserializers.DoubleDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Object |
NumberDeserializers.NumberDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
As mentioned in class Javadoc, there is additional complexity in handling potentially mixed type information here. |
Object |
MapDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Object |
EnumSetDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Object |
EnumMapDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Object |
DelegatingDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
Object |
CollectionDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
|
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 void |
StdDeserializer.handleUnknownProperty(JsonParser jp,
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 jp,
DeserializationContext ctxt)
Method called to map a JSON Array into a Java value. |
protected Object[] |
UntypedObjectDeserializer.mapArrayToArray(JsonParser jp,
DeserializationContext ctxt)
Method called to map a JSON Array into a Java Object array (Object[]). |
protected Object |
UntypedObjectDeserializer.mapObject(JsonParser jp,
DeserializationContext ctxt)
Method called to map a JSON Object into a Java value. |
void |
MapDeserializer.resolve(DeserializationContext ctxt)
|
void |
DelegatingDeserializer.resolve(DeserializationContext ctxt)
|
Uses of DeserializationContext in com.fasterxml.jackson.databind.ext |
---|
Methods in com.fasterxml.jackson.databind.ext with parameters of type DeserializationContext | |
---|---|
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 Duration |
CoreXMLDeserializers.DurationDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected QName |
CoreXMLDeserializers.QNameDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
XMLGregorianCalendar |
CoreXMLDeserializers.GregorianCalendarDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Uses of DeserializationContext in com.fasterxml.jackson.databind.jsontype |
---|
Methods in com.fasterxml.jackson.databind.jsontype with parameters of type DeserializationContext | |
---|---|
abstract Object |
TypeDeserializer.deserializeTypedFromAny(JsonParser jp,
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 jp,
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 jp,
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 jp,
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. |
Uses of DeserializationContext in com.fasterxml.jackson.databind.jsontype.impl |
---|
Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type DeserializationContext | |
---|---|
protected Object |
AsPropertyTypeDeserializer._deserializeIfNatural(JsonParser jp,
DeserializationContext ctxt)
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) |
protected Object |
AsPropertyTypeDeserializer._deserializeTypedForId(JsonParser jp,
DeserializationContext ctxt,
TokenBuffer tb)
|
protected Object |
AsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl(JsonParser jp,
DeserializationContext ctxt,
TokenBuffer tb)
|
protected JsonDeserializer<Object> |
TypeDeserializerBase._findDefaultImplDeserializer(DeserializationContext ctxt)
|
protected JsonDeserializer<Object> |
TypeDeserializerBase._findDeserializer(DeserializationContext ctxt,
String typeId)
|
protected String |
AsArrayTypeDeserializer._locateTypeId(JsonParser jp,
DeserializationContext ctxt)
|
Object |
AsWrapperTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt)
|
Object |
AsPropertyTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt)
|
Object |
AsArrayTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt)
|
Object |
AsWrapperTypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt)
|
Object |
AsArrayTypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt)
Method called when actual object is serialized as JSON Array. |
Object |
AsWrapperTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
Deserializing type id enclosed using WRAPPER_OBJECT style is straightforward |
Object |
AsPropertyTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
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.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt)
|
Object |
AsArrayTypeDeserializer.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |