Package | Description |
---|---|
com.fasterxml.jackson.databind |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
com.fasterxml.jackson.databind.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.jsonFormatVisitors | |
com.fasterxml.jackson.databind.jsontype |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
com.fasterxml.jackson.databind.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
com.fasterxml.jackson.databind.ser |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.impl |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.std |
Modifier and Type | Class and Description |
---|---|
static class |
BeanProperty.Std
Simple stand-alone implementation, useful as a placeholder
or base class for more complex implementations.
|
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<Object> |
SerializerProvider._handleContextual(JsonSerializer<?> ser,
BeanProperty property) |
protected JsonSerializer<Object> |
SerializerProvider._handleContextualResolvable(JsonSerializer<?> ser,
BeanProperty property)
Helper method called to resolve and contextualize given
serializer, if and as necessary.
|
JsonDeserializer<Object> |
DeserializationContext.findContextualValueDeserializer(JavaType type,
BeanProperty property)
Method for finding a value deserializer, and creating a contextual
version if necessary, for value reached via specified property.
|
Object |
DeserializationContext.findInjectableValue(Object valueId,
BeanProperty forProperty,
Object beanInstance) |
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) |
KeyDeserializer |
DeserializationContext.findKeyDeserializer(JavaType keyType,
BeanProperty property)
Convenience method, functionally same as:
|
JsonSerializer<Object> |
SerializerProvider.findKeySerializer(JavaType keyType,
BeanProperty property)
Method called to get the serializer to use for serializing
non-null Map keys.
|
JsonSerializer<Object> |
SerializerProvider.findNullKeySerializer(JavaType serializationType,
BeanProperty property)
Method called to find a serializer to use for null values for given
declared type.
|
JsonSerializer<Object> |
SerializerProvider.findNullValueSerializer(BeanProperty property)
Method called to get the serializer to use for serializing null
property values.
|
JsonSerializer<Object> |
SerializerProvider.findTypedValueSerializer(Class<?> valueType,
boolean cache,
BeanProperty property)
Method called to locate regular serializer, matching type serializer,
and if both found, wrap them in a serializer that calls both in correct
sequence.
|
JsonSerializer<Object> |
SerializerProvider.findTypedValueSerializer(JavaType valueType,
boolean cache,
BeanProperty property)
Method called to locate regular serializer, matching type serializer,
and if both found, wrap them in a serializer that calls both in correct
sequence.
|
JsonSerializer<Object> |
SerializerProvider.findValueSerializer(Class<?> valueType,
BeanProperty property)
Method called to get hold of a serializer for a value of given type;
or if no such serializer can be found, a default handler (which
may do a best-effort generic serialization or just simply
throw an exception when invoked).
|
JsonSerializer<Object> |
SerializerProvider.findValueSerializer(JavaType valueType,
BeanProperty property)
Similar to
SerializerProvider.findValueSerializer(Class,BeanProperty) , but takes
full generics-aware type instead of raw class. |
Modifier and Type | Class and Description |
---|---|
class |
CreatorProperty
This concrete sub-class implements property that is passed
via Creator (constructor or static factory method).
|
class |
SettableBeanProperty
Base class for deserilizable properties of a bean: contains
both type and name definitions, and reflection-based set functionality.
|
Modifier and Type | Field and Description |
---|---|
protected BeanProperty |
SettableAnyProperty._property
Method used for setting "any" properties, along with annotation
information.
|
Modifier and Type | Method and Description |
---|---|
BeanProperty |
SettableAnyProperty.getProperty() |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
SettableAnyProperty(BeanProperty property,
AnnotatedMethod setter,
JavaType type,
JsonDeserializer<Object> valueDeser) |
SettableAnyProperty(BeanProperty property,
Method rawSetter,
JavaType type,
JsonDeserializer<Object> valueDeser) |
Modifier and Type | Class and Description |
---|---|
class |
FieldProperty
This concrete sub-class implements property that is set
directly assigning to a Field.
|
class |
InnerClassProperty
This sub-class is used to handle special case of value being a
non-static inner class.
|
class |
ManagedReferenceProperty
Wrapper property that is used to handle managed (forward) properties
(see [JACKSON-235] for more information).
|
class |
MethodProperty
This concrete sub-class implements property that is set
using regular "setter" method.
|
class |
ObjectIdValueProperty
Specialized
SettableBeanProperty implementation used
for virtual property that represents Object Id that is used
for some POJO types (or properties). |
class |
SetterlessProperty
This concrete sub-class implements Collection or Map property that is
indirectly by getting the property value and directly modifying it.
|
class |
ValueInjector
Class that encapsulates details of value injection that occurs before
deserialization of a POJO.
|
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<?> |
DelegatingDeserializer._createContextual(DeserializationContext ctxt,
BeanProperty property,
JsonDeserializer<?> newDelegatee) |
JsonDeserializer<?> |
StringCollectionDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
StringArrayDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Contextualization is needed to see whether we can "inline" deserialization
of String values, or if we have to use separate value deserializer.
|
JsonDeserializer<?> |
StdDelegatingDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
ObjectArrayDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
MapDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer,
when it is known for which property deserializer is needed for.
|
JsonDeserializer<?> |
JdkDeserializers.AtomicReferenceDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
EnumSetDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
EnumMapDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer,
when it is known for which property deserializer is needed for.
|
JsonDeserializer<?> |
DelegatingDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
DateDeserializers.DateBasedDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
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.
|
protected JsonDeserializer<?> |
StdDeserializer.findConvertingContentDeserializer(DeserializationContext ctxt,
BeanProperty prop,
JsonDeserializer<?> existingDeserializer)
Helper method that can be used to see if specified property has annotation
indicating that a converter is to be used for contained values (contents
of structured types; array/List/Map values)
|
protected JsonDeserializer<Object> |
StdDeserializer.findDeserializer(DeserializationContext ctxt,
JavaType type,
BeanProperty property)
Helper method used to locate deserializers for properties the
type this deserializer handles contains (usually for properties of
bean types)
|
Modifier and Type | Method and Description |
---|---|
void |
JsonObjectFormatVisitor.optionalProperty(BeanProperty writer) |
void |
JsonObjectFormatVisitor.Base.optionalProperty(BeanProperty writer) |
void |
JsonObjectFormatVisitor.property(BeanProperty writer) |
void |
JsonObjectFormatVisitor.Base.property(BeanProperty writer) |
Modifier and Type | Method and Description |
---|---|
abstract TypeSerializer |
TypeSerializer.forProperty(BeanProperty prop)
Method called to create contextual version, to be used for
values of given property.
|
abstract TypeDeserializer |
TypeDeserializer.forProperty(BeanProperty prop)
Method called to create contextual version, to be used for
values of given property.
|
Modifier and Type | Field and Description |
---|---|
protected BeanProperty |
TypeSerializerBase._property |
protected BeanProperty |
TypeDeserializerBase._property
Property that contains value for which type information
is included; null if value is a root value.
|
Modifier and Type | Method and Description |
---|---|
abstract TypeDeserializer |
TypeDeserializerBase.forProperty(BeanProperty prop) |
AsWrapperTypeSerializer |
AsWrapperTypeSerializer.forProperty(BeanProperty prop) |
TypeDeserializer |
AsWrapperTypeDeserializer.forProperty(BeanProperty prop) |
AsPropertyTypeSerializer |
AsPropertyTypeSerializer.forProperty(BeanProperty prop) |
TypeDeserializer |
AsPropertyTypeDeserializer.forProperty(BeanProperty prop) |
AsExternalTypeSerializer |
AsExternalTypeSerializer.forProperty(BeanProperty prop) |
TypeDeserializer |
AsExternalTypeDeserializer.forProperty(BeanProperty prop) |
AsArrayTypeSerializer |
AsArrayTypeSerializer.forProperty(BeanProperty prop) |
TypeDeserializer |
AsArrayTypeDeserializer.forProperty(BeanProperty prop) |
Constructor and Description |
---|
AsArrayTypeDeserializer(AsArrayTypeDeserializer src,
BeanProperty property) |
AsArrayTypeSerializer(TypeIdResolver idRes,
BeanProperty property) |
AsExternalTypeDeserializer(AsExternalTypeDeserializer src,
BeanProperty property) |
AsExternalTypeSerializer(TypeIdResolver idRes,
BeanProperty property,
String propName) |
AsPropertyTypeDeserializer(AsPropertyTypeDeserializer src,
BeanProperty property) |
AsPropertyTypeSerializer(TypeIdResolver idRes,
BeanProperty property,
String propName) |
AsWrapperTypeDeserializer(AsWrapperTypeDeserializer src,
BeanProperty property) |
AsWrapperTypeSerializer(TypeIdResolver idRes,
BeanProperty property) |
TypeDeserializerBase(TypeDeserializerBase src,
BeanProperty property) |
TypeSerializerBase(TypeIdResolver idRes,
BeanProperty property) |
Modifier and Type | Class and Description |
---|---|
class |
BeanPropertyWriter
Base bean property handler class, which implements common parts of
reflection-based functionality for accessing a property value
and serializing it.
|
Modifier and Type | Field and Description |
---|---|
protected BeanProperty |
AnyGetterWriter._property |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<?> |
BasicSerializerFactory.buildCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Deprecated.
Since 2.1
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildContainerSerializer(SerializerProvider prov,
JavaType type,
BeanDescription beanDesc,
BeanProperty property,
boolean staticTyping)
Deprecated.
Since 2.1 (removed 'property' argument)
|
protected JsonSerializer<Object> |
BeanSerializerFactory.constructBeanSerializer(SerializerProvider prov,
BeanDescription beanDesc,
BeanProperty property)
Deprecated.
Since 2.1, do not pass 'property' argument
|
JsonSerializer<?> |
ContextualSerializer.createContextual(SerializerProvider prov,
BeanProperty property)
Method called to see if a different (or differently configured) serializer
is needed to serialize values of specified property.
|
JsonSerializer<Object> |
SerializerFactory.createSerializer(SerializerProvider prov,
JavaType baseType,
BeanProperty property)
Deprecated.
Since 2.1: need to use the new variant without 'property'
argument (since one won't be passed)
|
JsonSerializer<Object> |
BeanSerializerFactory.findBeanSerializer(SerializerProvider prov,
JavaType type,
BeanDescription beanDesc,
BeanProperty property)
Deprecated.
Since 2.1 (use variant without 'property' argument).
|
TypeSerializer |
BeanSerializerFactory.findPropertyTypeSerializer(JavaType baseType,
SerializationConfig config,
AnnotatedMember accessor,
BeanProperty property)
Deprecated.
Since 2.1
|
protected boolean |
ContainerSerializer.hasContentTypeAnnotation(SerializerProvider provider,
BeanProperty property)
Helper method used to encapsulate logic for determining whether there is
a property annotation that overrides element type; if so, we can
and need to statically find the serializer.
|
protected boolean |
BasicSerializerFactory.usesStaticTyping(SerializationConfig config,
BeanDescription beanDesc,
TypeSerializer typeSer,
BeanProperty property)
Deprecated.
Since 2.1: use method without 'property'
|
Constructor and Description |
---|
AnyGetterWriter(BeanProperty property,
AnnotatedMember accessor,
MapSerializer serializer) |
Modifier and Type | Class and Description |
---|---|
class |
UnwrappingBeanPropertyWriter
Variant of
BeanPropertyWriter which will handle unwrapping
of JSON Object (including of properties of Object within surrounding
JSON object, and not as sub-object). |
Modifier and Type | Method and Description |
---|---|
JsonSerializer<?> |
StringCollectionSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
StringArraySerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
IndexedStringListSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddSerializer(Class<?> type,
SerializerProvider provider,
BeanProperty property)
Method called if initial lookup fails; will both find serializer
and construct new map instance if warranted, and return both
|
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddSerializer(JavaType type,
SerializerProvider provider,
BeanProperty property) |
IteratorSerializer |
IteratorSerializer.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer) |
IndexedListSerializer |
IndexedListSerializer.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer) |
Constructor and Description |
---|
IndexedListSerializer(IndexedListSerializer src,
BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> valueSerializer) |
IndexedListSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<Object> valueSerializer) |
IteratorSerializer(IteratorSerializer src,
BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> valueSerializer) |
IteratorSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property) |
StringArraySerializer(StringArraySerializer src,
BeanProperty prop,
JsonSerializer<?> ser) |
Modifier and Type | Field and Description |
---|---|
protected BeanProperty |
MapSerializer._property
Map-valued property being serialized with this instance
|
protected BeanProperty |
JsonValueSerializer._property |
protected BeanProperty |
EnumMapSerializer._property
Property for which this serializer is being used, if any;
null for root values.
|
protected BeanProperty |
AsArraySerializerBase._property
Collection-valued property being serialized with this instance
|
protected BeanProperty |
ArraySerializerBase._property |
Modifier and Type | Method and Description |
---|---|
static ContainerSerializer<?> |
StdContainerSerializers.collectionSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<Object> valueSerializer)
Deprecated.
Since 2.1; use variant that does not take 'property' argument
|
JsonSerializer<?> |
StdDelegatingSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
ObjectArraySerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
MapSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
JsonValueSerializer.createContextual(SerializerProvider provider,
BeanProperty property)
We can try to find the actual serializer for value, if we can
statically figure out what the result type must be.
|
JsonSerializer<?> |
EnumSerializer.createContextual(SerializerProvider prov,
BeanProperty property)
To support some level of per-property configuration, we will need
to make things contextual.
|
JsonSerializer<?> |
EnumMapSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
DateTimeSerializerBase.createContextual(SerializerProvider prov,
BeanProperty property) |
JsonSerializer<?> |
BeanSerializerBase.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
AsArraySerializerBase.createContextual(SerializerProvider provider,
BeanProperty property)
This method is needed to resolve contextual annotations like
per-property overrides, as well as do recursive call
to
createContextual of content serializer, if
known statically. |
protected JsonSerializer<?> |
StdSerializer.findConvertingContentSerializer(SerializerProvider provider,
BeanProperty prop,
JsonSerializer<?> existingSerializer)
Helper method that can be used to see if specified property has annotation
indicating that a converter is to be used for contained values (contents
of structured types; array/List/Map values)
|
static ContainerSerializer<?> |
StdContainerSerializers.indexedListSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<Object> valueSerializer)
Deprecated.
Since 2.1; use variant that does not take 'property' argument
|
JsonValueSerializer |
JsonValueSerializer.withResolved(BeanProperty property,
JsonSerializer<?> ser,
boolean forceTypeInfo) |
MapSerializer |
MapSerializer.withResolved(BeanProperty property,
JsonSerializer<?> keySerializer,
JsonSerializer<?> valueSerializer,
HashSet<String> ignored) |
ObjectArraySerializer |
ObjectArraySerializer.withResolved(BeanProperty prop,
TypeSerializer vts,
JsonSerializer<?> ser) |
IterableSerializer |
IterableSerializer.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer) |
EnumSetSerializer |
EnumSetSerializer.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer) |
CollectionSerializer |
CollectionSerializer.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer) |
abstract AsArraySerializerBase<T> |
AsArraySerializerBase.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer) |
EnumMapSerializer |
EnumMapSerializer.withValueSerializer(BeanProperty prop,
JsonSerializer<?> ser) |
Copyright © 2012-2013 FasterXML. All Rights Reserved.