Package | Description |
---|---|
org.codehaus.jackson.map |
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 |
org.codehaus.jackson.map.deser |
Contains implementation classes of deserialization part of
data binding.
|
org.codehaus.jackson.map.deser.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
org.codehaus.jackson.map.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
org.codehaus.jackson.map.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.
|
org.codehaus.jackson.map.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
org.codehaus.jackson.map.jsontype |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
org.codehaus.jackson.map.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
org.codehaus.jackson.map.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.registerModule(org.codehaus.jackson.map.Module) . |
org.codehaus.jackson.mrbean |
Package that implements "interface materializer" functionality, whereby
abstract classes and interfaces can be used as-is, and framework constructs
implementations as needed.
|
Modifier and Type | Field and Description |
---|---|
protected DeserializationConfig |
ObjectReader._config
General serialization configuration settings; while immutable,
can use copy-constructor to create modified instances as necessary.
|
protected DeserializationConfig |
DeserializationContext._config |
protected DeserializationConfig |
ObjectMapper._deserializationConfig
Configuration object that defines basic global
settings for the serialization process
|
Modifier and Type | Method and Description |
---|---|
DeserializationConfig |
ObjectMapper.copyDeserializationConfig()
Method that creates a copy of
the shared default
DeserializationConfig object
that defines configuration settings for deserialization. |
DeserializationConfig |
DeserializationConfig.createUnshared(SubtypeResolver subtypeResolver)
Method that is called to create a non-shared copy of the configuration
to be used for a deserialization operation.
|
DeserializationConfig |
DeserializationContext.getConfig()
Method for accessing configuration setting object for
currently active deserialization.
|
DeserializationConfig |
ObjectMapper.getDeserializationConfig()
Method that returns
the shared default
DeserializationConfig object
that defines configuration settings for deserialization. |
DeserializationConfig |
Module.SetupContext.getDeserializationConfig()
Method that returns current deserialization configuration
settings.
|
protected DeserializationConfig |
DeserializationConfig.passSerializationFeatures(int serializationFeatureFlags)
Helper method to be called right after creating a non-shared
instance, needed to pass state of feature(s) shared with
SerializationConfig.
|
DeserializationConfig |
DeserializationConfig.with(DeserializationConfig.Feature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features enabled.
|
DeserializationConfig |
DeserializationConfig.withAnnotationIntrospector(AnnotationIntrospector ai) |
DeserializationConfig |
DeserializationConfig.withAppendedAnnotationIntrospector(AnnotationIntrospector ai) |
DeserializationConfig |
DeserializationConfig.withClassIntrospector(ClassIntrospector<? extends BeanDescription> ci) |
DeserializationConfig |
DeserializationConfig.withDateFormat(DateFormat df) |
DeserializationConfig |
DeserializationConfig.withHandlerInstantiator(HandlerInstantiator hi) |
DeserializationConfig |
DeserializationConfig.withInsertedAnnotationIntrospector(AnnotationIntrospector ai) |
DeserializationConfig |
DeserializationConfig.withNodeFactory(JsonNodeFactory f)
Fluent factory method that will construct a new instance with
specified
JsonNodeFactory |
DeserializationConfig |
DeserializationConfig.without(DeserializationConfig.Feature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features disabled.
|
DeserializationConfig |
DeserializationConfig.withPropertyNamingStrategy(PropertyNamingStrategy pns) |
DeserializationConfig |
DeserializationConfig.withSubtypeResolver(SubtypeResolver str) |
DeserializationConfig |
DeserializationConfig.withTypeFactory(TypeFactory tf) |
DeserializationConfig |
DeserializationConfig.withTypeResolverBuilder(TypeResolverBuilder<?> trb) |
DeserializationConfig |
DeserializationConfig.withVisibility(JsonMethod forMethod,
JsonAutoDetect.Visibility visibility) |
DeserializationConfig |
DeserializationConfig.withVisibilityChecker(VisibilityChecker<?> vc) |
Modifier and Type | Method and Description |
---|---|
protected DeserializationContext |
ObjectReader._createDeserializationContext(JsonParser jp,
DeserializationConfig cfg) |
protected DeserializationContext |
ObjectMapper._createDeserializationContext(JsonParser jp,
DeserializationConfig cfg) |
protected JsonDeserializer<Object> |
ObjectReader._findRootDeserializer(DeserializationConfig cfg,
JavaType valueType)
Method called to locate deserializer for the passed root-level value.
|
protected JsonDeserializer<Object> |
ObjectMapper._findRootDeserializer(DeserializationConfig cfg,
JavaType valueType)
Method called to locate deserializer for the passed root-level value.
|
protected Object |
ObjectMapper._readValue(DeserializationConfig cfg,
JsonParser jp,
JavaType valueType)
Actual implementation of value reading+binding operation.
|
TypeDeserializer |
ObjectMapper.DefaultTypeResolverBuilder.buildTypeDeserializer(DeserializationConfig config,
JavaType baseType,
Collection<NamedType> subtypes,
BeanProperty property) |
abstract JsonDeserializer<?> |
DeserializerFactory.createArrayDeserializer(DeserializationConfig config,
DeserializerProvider p,
ArrayType type,
BeanProperty property)
Method called to create (or, for completely immutable deserializers,
reuse) a deserializer that can convert JSON content into values of
specified Java type.
|
abstract JsonDeserializer<Object> |
DeserializerFactory.createBeanDeserializer(DeserializationConfig config,
DeserializerProvider p,
JavaType type,
BeanProperty property)
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.
|
abstract JsonDeserializer<?> |
DeserializerFactory.createCollectionDeserializer(DeserializationConfig config,
DeserializerProvider p,
CollectionType type,
BeanProperty property) |
abstract JsonDeserializer<?> |
DeserializerFactory.createCollectionLikeDeserializer(DeserializationConfig config,
DeserializerProvider p,
CollectionLikeType type,
BeanProperty property) |
KeyDeserializer |
ContextualKeyDeserializer.createContextual(DeserializationConfig config,
BeanProperty property)
Method called to see if a different (or differently configured) key deserializer
is needed to deserialize keys of specified Map property.
|
JsonDeserializer<T> |
ContextualDeserializer.createContextual(DeserializationConfig config,
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(DeserializationConfig config,
DeserializerProvider p,
JavaType type,
BeanProperty property) |
KeyDeserializer |
DeserializerFactory.createKeyDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property)
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.
|
abstract JsonDeserializer<?> |
DeserializerFactory.createMapDeserializer(DeserializationConfig config,
DeserializerProvider p,
MapType type,
BeanProperty property) |
abstract JsonDeserializer<?> |
DeserializerFactory.createMapLikeDeserializer(DeserializationConfig config,
DeserializerProvider p,
MapLikeType type,
BeanProperty property) |
abstract JsonDeserializer<?> |
DeserializerFactory.createTreeDeserializer(DeserializationConfig config,
DeserializerProvider p,
JavaType type,
BeanProperty property)
Method called to create and return a deserializer that can construct
JsonNode(s) from JSON content.
|
abstract JsonDeserializer<?> |
HandlerInstantiator.deserializerInstance(DeserializationConfig config,
Annotated annotated,
Class<? extends JsonDeserializer<?>> deserClass)
Method called to get an instance of deserializer of specified type.
|
JsonDeserializer<?> |
Deserializers.findArrayDeserializer(ArrayType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified array type.
|
JsonDeserializer<?> |
Deserializers.Base.findArrayDeserializer(ArrayType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findBeanDeserializer(JavaType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property)
Method called to locate deserializer for specified value type which does not belong to any other
category (not an Enum, Collection, Map, Array or tree node)
|
JsonDeserializer<?> |
Deserializers.Base.findBeanDeserializer(JavaType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property) |
JsonDeserializer<?> |
Deserializers.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified
Collection (List, Set etc) type. |
JsonDeserializer<?> |
Deserializers.Base.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified
"Collection-like" type (one that acts
like
Collection but does not implement it). |
JsonDeserializer<?> |
Deserializers.Base.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findEnumDeserializer(Class<?> type,
DeserializationConfig config,
BeanDescription beanDesc,
BeanProperty property)
Method called to locate deserializer for specified
Enum type. |
JsonDeserializer<?> |
Deserializers.Base.findEnumDeserializer(Class<?> type,
DeserializationConfig config,
BeanDescription beanDesc,
BeanProperty property) |
abstract SerializedString |
DeserializerProvider.findExpectedRootName(DeserializationConfig config,
JavaType type)
Method that can be used to try find expected root name for given type
|
abstract KeyDeserializer |
DeserializerProvider.findKeyDeserializer(DeserializationConfig config,
JavaType keyType,
BeanProperty property)
Method called to get hold of a deserializer to use for deserializing
keys for
Map . |
KeyDeserializer |
KeyDeserializers.findKeyDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc,
BeanProperty property) |
JsonDeserializer<?> |
Deserializers.findMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate deserializer for specified
Map type. |
JsonDeserializer<?> |
Deserializers.Base.findMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified
"Map-like" type (one that acts
like
Map but does not implement it). |
JsonDeserializer<?> |
Deserializers.Base.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType,
DeserializationConfig config,
BeanProperty property)
Method called to locate deserializer for specified JSON tree node type.
|
JsonDeserializer<?> |
Deserializers.Base.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType,
DeserializationConfig config,
BeanProperty property) |
TypeDeserializer |
DeserializerFactory.findTypeDeserializer(DeserializationConfig config,
JavaType baseType,
BeanProperty property)
Method called to find and create a type information deserializer for given base type,
if one is needed.
|
abstract JsonDeserializer<Object> |
DeserializerProvider.findTypedValueDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property)
Method called to locate deserializer for given type, as well as matching
type deserializer (if one is needed); and if type deserializer is needed,
construct a "wrapped" deserializer that can extract and use type information
for calling actual deserializer.
|
JavaType |
AbstractTypeResolver.findTypeMapping(DeserializationConfig config,
JavaType type)
Try to locate a subtype for given abstract type, to either resolve
to a concrete type, or at least to a more-specific (and hopefully supported)
abstract type, one which may have registered deserializers.
|
abstract JsonDeserializer<Object> |
DeserializerProvider.findValueDeserializer(DeserializationConfig config,
JavaType propertyType,
BeanProperty property)
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(DeserializationConfig config,
BasicBeanDescription beanDesc)
Method that is to find all creators (constructors, factory methods)
for the bean type to deserialize.
|
abstract T |
ClassIntrospector.forCreation(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has
information necessary for creating instances of given
class ("creator"), as well as class annotations, but
no information on member methods
|
abstract T |
ClassIntrospector.forDeserialization(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has all
information needed for deserialization purposes.
|
abstract boolean |
DeserializerProvider.hasValueDeserializerFor(DeserializationConfig config,
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.
|
abstract KeyDeserializer |
HandlerInstantiator.keyDeserializerInstance(DeserializationConfig config,
Annotated annotated,
Class<? extends KeyDeserializer> keyDeserClass)
Method called to get an instance of key deserializer of specified type.
|
abstract JavaType |
DeserializerProvider.mapAbstractType(DeserializationConfig config,
JavaType type)
Method that can be called to try to resolve an abstract type
(interface, abstract class) into a concrete type, or at least
something "more concrete" (abstract class instead of interface).
|
abstract JavaType |
DeserializerFactory.mapAbstractType(DeserializationConfig config,
JavaType type)
Method that can be called to try to resolve an abstract type
(interface, abstract class) into a concrete type, or at least
something "more concrete" (abstract class instead of interface).
|
JsonNode |
ObjectMapper.readTree(JsonParser jp,
DeserializationConfig cfg)
Method to deserialize JSON content as tree expressed
using set of
JsonNode instances. |
<T> T |
ObjectMapper.readValue(JsonParser jp,
Class<T> valueType,
DeserializationConfig cfg)
Method to deserialize JSON content into a non-container
type (it can be an array type, however): typically a bean, array
or a wrapper type (like
Boolean ). |
<T> T |
ObjectMapper.readValue(JsonParser jp,
JavaType valueType,
DeserializationConfig cfg)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
<T> T |
ObjectMapper.readValue(JsonParser jp,
TypeReference<?> valueTypeRef,
DeserializationConfig cfg)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
void |
ResolvableDeserializer.resolve(DeserializationConfig config,
DeserializerProvider provider)
Method called after
DeserializerProvider has registered
the deserializer, but before it has returned it to the caller. |
JavaType |
AbstractTypeResolver.resolveAbstractType(DeserializationConfig config,
JavaType type)
Method called to try to resolve an abstract type into
concrete type (usually for purposes of deserializing),
when no concrete implementation was found.
|
ObjectMapper |
ObjectMapper.setDeserializationConfig(DeserializationConfig cfg)
Method for replacing the shared default deserialization configuration
object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BeanDeserializerFactory._addDeserializerConstructors(DeserializationConfig config,
BasicBeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators) |
protected void |
BeanDeserializerFactory._addDeserializerFactoryMethods(DeserializationConfig config,
BasicBeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators) |
protected JsonDeserializer<Object> |
StdDeserializerProvider._createAndCache2(DeserializationConfig config,
JavaType type,
BeanProperty property)
Method that handles actual construction (via factory) and caching (both
intermediate and eventual)
|
protected JsonDeserializer<Object> |
StdDeserializerProvider._createAndCacheValueDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property)
Method that will try to create a deserializer for given type,
and resolve and cache it if necessary
|
protected JsonDeserializer<Object> |
StdDeserializerProvider._createDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property) |
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomArrayDeserializer(ArrayType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomArrayDeserializer(ArrayType type,
DeserializationConfig config,
DeserializerProvider p,
BeanProperty property,
TypeDeserializer elementTypeDeser,
JsonDeserializer<?> elementDeser) |
protected JsonDeserializer<Object> |
BeanDeserializerFactory._findCustomBeanDeserializer(JavaType type,
DeserializationConfig config,
DeserializerProvider provider,
BasicBeanDescription beanDesc,
BeanProperty property) |
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomCollectionDeserializer(CollectionType type,
DeserializationConfig config,
DeserializerProvider provider,
BasicBeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomCollectionDeserializer(CollectionType type,
DeserializationConfig config,
DeserializerProvider p,
BasicBeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeser,
JsonDeserializer<?> elementDeser) |
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BasicBeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
DeserializerProvider p,
BasicBeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeser,
JsonDeserializer<?> elementDeser) |
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomEnumDeserializer(Class<?> type,
DeserializationConfig config,
BasicBeanDescription beanDesc,
BeanProperty property) |
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomEnumDeserializer(Class<?> type,
DeserializationConfig config,
BasicBeanDescription beanDesc,
BeanProperty property) |
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider provider,
BasicBeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider p,
BasicBeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeser,
TypeDeserializer elementTypeDeser,
JsonDeserializer<?> elementDeser) |
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BasicBeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider p,
BasicBeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeser,
TypeDeserializer elementTypeDeser,
JsonDeserializer<?> elementDeser) |
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomTreeNodeDeserializer(Class<? extends JsonNode> type,
DeserializationConfig config,
BeanProperty property) |
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomTreeNodeDeserializer(Class<? extends JsonNode> type,
DeserializationConfig config,
BeanProperty property) |
protected boolean |
BeanDeserializerFactory._handleSingleArgumentConstructor(DeserializationConfig config,
BasicBeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators,
AnnotatedConstructor ctor,
boolean isCreator,
boolean isVisible) |
protected boolean |
BeanDeserializerFactory._handleSingleArgumentFactory(DeserializationConfig config,
BasicBeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators,
AnnotatedMethod factory,
boolean isCreator) |
protected JavaType |
BeanDeserializerFactory._mapAbstractType2(DeserializationConfig config,
JavaType type)
Method that will find abstract type mapping for specified type, doing a single
lookup through registered abstract type resolvers; will not do recursive lookups.
|
protected void |
StdDeserializerProvider._resolveDeserializer(DeserializationConfig config,
ResolvableDeserializer ser) |
protected SettableBeanProperty |
BeanDeserializer._resolveInnerClassValuedProperty(DeserializationConfig config,
SettableBeanProperty prop)
Helper method that will handle gruesome details of dealing with properties
that have non-static inner class as value...
|
protected SettableBeanProperty |
BeanDeserializer._resolveManagedReferenceProperty(DeserializationConfig config,
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 |
BeanDeserializer._resolveUnwrappedProperty(DeserializationConfig config,
SettableBeanProperty prop)
Helper method called to see if given property might be so-called unwrapped
property: these require special handling.
|
protected void |
BeanDeserializerFactory.addBeanProps(DeserializationConfig config,
BasicBeanDescription beanDesc,
BeanDeserializerBuilder builder)
Method called to figure out settable properties for the
bean deserializer to use.
|
protected void |
BeanDeserializerFactory.addInjectables(DeserializationConfig config,
BasicBeanDescription 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.addReferenceProperties(DeserializationConfig config,
BasicBeanDescription 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(DeserializationConfig config,
JavaType type,
BasicBeanDescription beanDesc,
BeanProperty property)
Method that is to actually build a bean deserializer instance.
|
JsonDeserializer<Object> |
BeanDeserializerFactory.buildThrowableDeserializer(DeserializationConfig config,
JavaType type,
BasicBeanDescription beanDesc,
BeanProperty property) |
protected SettableAnyProperty |
BeanDeserializerFactory.constructAnySetter(DeserializationConfig config,
BasicBeanDescription 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 CreatorProperty |
BeanDeserializerFactory.constructCreatorProperty(DeserializationConfig config,
BasicBeanDescription 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 ValueInstantiator |
BeanDeserializerFactory.constructDefaultValueInstantiator(DeserializationConfig config,
BasicBeanDescription beanDesc)
Method that will construct standard default
ValueInstantiator
using annotations (like @JsonCreator) and visibility rules |
protected EnumResolver<?> |
BasicDeserializerFactory.constructEnumResolver(Class<?> enumClass,
DeserializationConfig config) |
protected SettableBeanProperty |
BeanDeserializerFactory.constructSettableProperty(DeserializationConfig config,
BasicBeanDescription beanDesc,
String name,
AnnotatedField field) |
protected SettableBeanProperty |
BeanDeserializerFactory.constructSettableProperty(DeserializationConfig config,
BasicBeanDescription beanDesc,
String name,
AnnotatedMethod setter)
Method that will construct a regular bean property setter using
the given setter method.
|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSetterlessProperty(DeserializationConfig config,
BasicBeanDescription beanDesc,
String name,
AnnotatedMethod getter)
Method that will construct a regular bean property setter using
the given setter method.
|
JsonDeserializer<?> |
CustomDeserializerFactory.createArrayDeserializer(DeserializationConfig config,
DeserializerProvider p,
ArrayType type,
BeanProperty property)
Deprecated.
|
JsonDeserializer<?> |
BasicDeserializerFactory.createArrayDeserializer(DeserializationConfig config,
DeserializerProvider p,
ArrayType type,
BeanProperty property) |
JsonDeserializer<Object> |
CustomDeserializerFactory.createBeanDeserializer(DeserializationConfig config,
DeserializerProvider p,
JavaType type,
BeanProperty property)
Deprecated.
|
JsonDeserializer<Object> |
BeanDeserializerFactory.createBeanDeserializer(DeserializationConfig config,
DeserializerProvider p,
JavaType type,
BeanProperty property)
Method that
DeserializerProvider s call to create a new
deserializer for types other than Collections, Maps, arrays and
enums. |
JsonDeserializer<?> |
BasicDeserializerFactory.createCollectionDeserializer(DeserializationConfig config,
DeserializerProvider p,
CollectionType type,
BeanProperty property) |
JsonDeserializer<?> |
BasicDeserializerFactory.createCollectionLikeDeserializer(DeserializationConfig config,
DeserializerProvider p,
CollectionLikeType type,
BeanProperty property) |
JsonDeserializer<?> |
CustomDeserializerFactory.createEnumDeserializer(DeserializationConfig config,
DeserializerProvider p,
JavaType enumType,
BeanProperty property)
Deprecated.
|
JsonDeserializer<?> |
BasicDeserializerFactory.createEnumDeserializer(DeserializationConfig config,
DeserializerProvider p,
JavaType type,
BeanProperty property)
Factory method for constructing serializers of
Enum types. |
KeyDeserializer |
BeanDeserializerFactory.createKeyDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property) |
JsonDeserializer<?> |
BasicDeserializerFactory.createMapDeserializer(DeserializationConfig config,
DeserializerProvider p,
MapType type,
BeanProperty property) |
JsonDeserializer<?> |
BasicDeserializerFactory.createMapLikeDeserializer(DeserializationConfig config,
DeserializerProvider p,
MapLikeType type,
BeanProperty property) |
JsonDeserializer<?> |
BasicDeserializerFactory.createTreeDeserializer(DeserializationConfig config,
DeserializerProvider p,
JavaType nodeType,
BeanProperty property) |
protected JsonDeserializer<Object> |
BasicDeserializerFactory.findDeserializerFromAnnotation(DeserializationConfig config,
Annotated ann,
BeanProperty property)
Helper method called to check if a class or method
has annotation that tells which class to use for deserialization.
|
SerializedString |
StdDeserializerProvider.findExpectedRootName(DeserializationConfig config,
JavaType type) |
KeyDeserializer |
StdDeserializerProvider.findKeyDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property) |
TypeDeserializer |
BasicDeserializerFactory.findPropertyContentTypeDeserializer(DeserializationConfig config,
JavaType containerType,
AnnotatedMember propertyEntity,
BeanProperty property)
Method called to find and create a type information deserializer for values of
given container (list, array, map) property, if one is needed.
|
TypeDeserializer |
BasicDeserializerFactory.findPropertyTypeDeserializer(DeserializationConfig config,
JavaType baseType,
AnnotatedMember annotated,
BeanProperty property)
Method called to create a type information deserializer for values of
given non-container property, if one is needed.
|
protected JsonDeserializer<Object> |
BasicDeserializerFactory.findStdBeanDeserializer(DeserializationConfig config,
DeserializerProvider p,
JavaType type,
BeanProperty property)
Method called by
BeanDeserializerFactory to see if there might be a standard
deserializer registered for given type. |
TypeDeserializer |
BasicDeserializerFactory.findTypeDeserializer(DeserializationConfig config,
JavaType baseType,
BeanProperty property) |
JsonDeserializer<Object> |
StdDeserializerProvider.findTypedValueDeserializer(DeserializationConfig config,
JavaType type,
BeanProperty property) |
JsonDeserializer<Object> |
StdDeserializerProvider.findValueDeserializer(DeserializationConfig config,
JavaType propertyType,
BeanProperty property) |
ValueInstantiator |
BeanDeserializerFactory.findValueInstantiator(DeserializationConfig config,
BasicBeanDescription beanDesc)
Value instantiator is created both based on creator annotations,
and on optional externally provided instantiators (registered through
module interface).
|
abstract ValueInstantiator |
BasicDeserializerFactory.findValueInstantiator(DeserializationConfig config,
BasicBeanDescription beanDesc) |
ValueInstantiator |
ValueInstantiators.findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc,
ValueInstantiator defaultInstantiator)
Method called to find the
ValueInstantiator to use for creating
instances of specified type during deserialization. |
ValueInstantiator |
ValueInstantiators.Base.findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc,
ValueInstantiator defaultInstantiator) |
boolean |
StdDeserializerProvider.hasValueDeserializerFor(DeserializationConfig config,
JavaType type)
Method that can be called to find out whether a deserializer can
be found for given type
|
protected boolean |
BeanDeserializerFactory.isIgnorableType(DeserializationConfig config,
BasicBeanDescription beanDesc,
Class<?> type,
Map<Class<?>,Boolean> ignoredTypes)
Helper method that will check whether given raw type is marked as always ignorable
(for purpose of ignoring properties with type)
|
JavaType |
StdDeserializerProvider.mapAbstractType(DeserializationConfig config,
JavaType type) |
JavaType |
BeanDeserializerFactory.mapAbstractType(DeserializationConfig config,
JavaType type)
Method that will find complete abstract type mapping for specified type, doing as
many resolution steps as necessary.
|
abstract JavaType |
BasicDeserializerFactory.mapAbstractType(DeserializationConfig config,
JavaType type) |
protected JavaType |
BeanDeserializerFactory.materializeAbstractType(DeserializationConfig config,
BasicBeanDescription beanDesc) |
JsonDeserializer<?> |
BeanDeserializerModifier.modifyDeserializer(DeserializationConfig config,
BasicBeanDescription beanDesc,
JsonDeserializer<?> deserializer)
Method called by
BeanDeserializerFactory after constructing default
bean deserializer instance with properties collected and ordered earlier. |
protected <T extends JavaType> |
BasicDeserializerFactory.modifyTypeByAnnotation(DeserializationConfig config,
Annotated a,
T type,
String propName)
Method called to see if given method has annotations that indicate
a more specific type than what the argument specifies.
|
void |
BeanDeserializer.resolve(DeserializationConfig config,
DeserializerProvider provider)
Method called to finalize setup of this deserializer,
after deserializer itself has been registered.
|
protected JavaType |
BasicDeserializerFactory.resolveType(DeserializationConfig config,
BasicBeanDescription beanDesc,
JavaType type,
AnnotatedMember member,
BeanProperty property)
Helper method used to resolve method return types and field
types.
|
BeanDeserializerBuilder |
BeanDeserializerModifier.updateBuilder(DeserializationConfig config,
BasicBeanDescription beanDesc,
BeanDeserializerBuilder builder)
Method called by
BeanDeserializerFactory when it has collected
basic information such as tentative list of properties to deserialize. |
Constructor and Description |
---|
StdDeserializationContext(DeserializationConfig config,
JsonParser jp,
DeserializerProvider prov,
InjectableValues injectableValues) |
Modifier and Type | Method and Description |
---|---|
ValueInstantiator |
CreatorCollector.constructValueInstantiator(DeserializationConfig config) |
Modifier and Type | Method and Description |
---|---|
static KeyDeserializer |
StdKeyDeserializers.constructStringKeyDeserializer(DeserializationConfig config,
JavaType type) |
static JsonDeserializer<?> |
EnumDeserializer.deserializerForCreator(DeserializationConfig config,
Class<?> enumClass,
AnnotatedMethod factory)
Factory method used when Enum instances are to be deserialized
using a creator (static factory method)
|
protected JsonDeserializer<Object> |
StdDeserializer.findDeserializer(DeserializationConfig config,
DeserializerProvider provider,
JavaType type,
BeanProperty property)
Helper method used to locate deserializers for properties the
type this deserializer handles contains (usually for properties of
bean types)
|
static KeyDeserializer |
StdKeyDeserializers.findStringBasedKeyDeserializer(DeserializationConfig config,
JavaType type) |
void |
StringCollectionDeserializer.resolve(DeserializationConfig config,
DeserializerProvider provider)
Method called to finalize setup of this deserializer,
after deserializer itself has been registered.
|
void |
MapDeserializer.resolve(DeserializationConfig config,
DeserializerProvider provider)
Method called to finalize setup of this deserializer,
after deserializer itself has been registered.
|
void |
CollectionDeserializer.resolve(DeserializationConfig config,
DeserializerProvider provider)
Method called to finalize setup of this deserializer,
after deserializer itself has been registered.
|
void |
AtomicReferenceDeserializer.resolve(DeserializationConfig config,
DeserializerProvider provider) |
Constructor and Description |
---|
StdValueInstantiator(DeserializationConfig config,
Class<?> valueType) |
StdValueInstantiator(DeserializationConfig config,
JavaType valueType) |
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<?> |
OptionalHandlerFactory.findDeserializer(JavaType type,
DeserializationConfig config,
DeserializerProvider p) |
Modifier and Type | Method and Description |
---|---|
BasicBeanDescription |
BasicClassIntrospector.forCreation(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r) |
BasicBeanDescription |
BasicClassIntrospector.forDeserialization(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r) |
protected MethodFilter |
BasicClassIntrospector.getDeserializationMethodFilter(DeserializationConfig cfg)
Deprecated.
Since 1.9 just don't use
|
Modifier and Type | Method and Description |
---|---|
TypeDeserializer |
TypeResolverBuilder.buildTypeDeserializer(DeserializationConfig config,
JavaType baseType,
Collection<NamedType> subtypes,
BeanProperty property)
Method for building type deserializer based on current configuration
of this builder.
|
Modifier and Type | Method and Description |
---|---|
TypeDeserializer |
StdTypeResolverBuilder.buildTypeDeserializer(DeserializationConfig config,
JavaType baseType,
Collection<NamedType> subtypes,
BeanProperty property) |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
AbstractTypeMaterializer.materializeClass(DeserializationConfig config,
Class<?> cls) |
JavaType |
AbstractTypeMaterializer.resolveAbstractType(DeserializationConfig config,
JavaType type) |
Constructor and Description |
---|
BeanBuilder(DeserializationConfig config,
Class<?> implType) |