Package | Description |
---|---|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.deser |
Contains implementation classes of deserialization part of
data binding.
|
com.fasterxml.jackson.databind.deser.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
com.fasterxml.jackson.databind.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
com.fasterxml.jackson.databind.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.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
com.fasterxml.jackson.databind.jsonFormatVisitors |
Classes used for exposing logical structure of POJOs as Jackson
sees it, and exposed via
ObjectMapper.acceptJsonFormatVisitor(Class, JsonFormatVisitorWrapper)
and
ObjectMapper.acceptJsonFormatVisitor(com.fasterxml.jackson.databind.JavaType, JsonFormatVisitorWrapper)
methods. |
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 | |
com.fasterxml.jackson.datatype.jdk8 | |
com.fasterxml.jackson.datatype.jsr310.deser | |
com.fasterxml.jackson.jaxrs.util |
Miscellaneous helper classes used by providers.
|
Modifier and Type | Class and Description |
---|---|
static class |
BeanProperty.Bogus
Alternative "Null" implementation that can be used in cases where a non-null
BeanProperty is needed |
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._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 prop)
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 prop)
Convenience method, functionally same as:
|
JsonSerializer<Object> |
SerializerProvider.findKeySerializer(Class<?> rawKeyType,
BeanProperty property) |
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
values for specified property.
|
JsonSerializer<Object> |
SerializerProvider.findPrimaryPropertySerializer(Class<?> valueType,
BeanProperty property) |
JsonSerializer<Object> |
SerializerProvider.findPrimaryPropertySerializer(JavaType valueType,
BeanProperty property)
Similar to
SerializerProvider.findValueSerializer(JavaType, BeanProperty) , but used
when finding "primary" property value serializer (one directly handling
value of the property). |
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. |
JsonDeserializer<?> |
DeserializationContext.handlePrimaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop,
JavaType type)
Method called for primary property deserializers (ones
directly created to deserialize values of a POJO property),
to handle details of resolving
ContextualDeserializer with given property context. |
JsonSerializer<?> |
SerializerProvider.handlePrimaryContextualization(JsonSerializer<?> ser,
BeanProperty property)
Method called for primary property serializers (ones
directly created to serialize values of a POJO property),
to handle details of resolving
ContextualSerializer with given property context. |
JsonDeserializer<?> |
DeserializationContext.handleSecondaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop,
JavaType type)
Method called for secondary property deserializers (ones
NOT directly created to deal with an annotatable POJO property,
but instead created as a component -- such as value deserializers
for structured types, or deserializers for root values)
to handle details of resolving
ContextualDeserializer with given property context. |
JsonSerializer<?> |
SerializerProvider.handleSecondaryContextualization(JsonSerializer<?> ser,
BeanProperty property)
Method called for secondary property serializers (ones
NOT directly created to serialize values of a POJO property
but instead created as a dependant serializer -- such as value serializers
for structured types, or serializers for root values)
to handle details of resolving
ContextualDeserializer with given property context. |
<T> T |
DeserializationContext.readPropertyValue(JsonParser p,
BeanProperty prop,
Class<T> type)
Convenience method that may be used by composite or container deserializers,
for reading one-off values for the composite type, taking into account
annotations that the property (passed to this method -- usually property that
has custom serializer that called this method) has.
|
<T> T |
DeserializationContext.readPropertyValue(JsonParser p,
BeanProperty prop,
JavaType type) |
<T> T |
DeserializationContext.reportInputMismatch(BeanProperty prop,
String msg,
Object... msgArgs)
Helper method used to indicate a problem with input in cases where more
specific
reportXxx() method was not available. |
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 deserializable properties of a bean: contains
both type and name definitions, and reflection-based set functionality.
|
static class |
SettableBeanProperty.Delegating
Helper class that is designed to both make it easier to sub-class
delegating subtypes and to reduce likelihood of breakage when
new methods are added.
|
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 |
---|---|
JsonDeserializer<?> |
AbstractDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
KeyDeserializer |
ContextualKeyDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to see if a different (or differently configured) key deserializer
is needed to deserialize keys of specified Map property.
|
JsonDeserializer<?> |
BeanDeserializerBase.createContextual(DeserializationContext ctxt,
BeanProperty property)
Although most of post-processing is done in resolve(), we only get
access to referring property's annotations here; and this is needed
to support per-property ObjectIds.
|
JsonDeserializer<?> |
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.
|
Constructor and Description |
---|
SettableAnyProperty(BeanProperty property,
AnnotatedMember setter,
JavaType type,
JsonDeserializer<Object> valueDeser,
TypeDeserializer typeDeser)
Deprecated.
|
SettableAnyProperty(BeanProperty property,
AnnotatedMember setter,
JavaType type,
KeyDeserializer keyDeser,
JsonDeserializer<Object> valueDeser,
TypeDeserializer typeDeser) |
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
Basically just needs to delegate first to actual forward property, and
then to back property.
|
class |
MergingSettableBeanProperty
SettableBeanProperty implementation that will try to access value of
the property first, and if non-null value found, pass that for update
(using JsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, Object) )
instead of constructing a new value. |
class |
MethodProperty
This concrete sub-class implements property that is set
using regular "setter" method.
|
class |
ObjectIdReferenceProperty |
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 |
---|---|
static NullsFailProvider |
NullsFailProvider.constructForProperty(BeanProperty prop) |
Modifier and Type | Method and Description |
---|---|
protected NullValueProvider |
StdDeserializer._findNullProvider(DeserializationContext ctxt,
BeanProperty prop,
Nulls nulls,
JsonDeserializer<?> valueDeser) |
JsonDeserializer<?> |
PrimitiveArrayDeserializers.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
StringArrayDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Contextualization is needed to see whether we can "inline" deserialization
of String values, or if we have to use separate value deserializer.
|
JsonDeserializer<?> |
UntypedObjectDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
We only use contextualization for optimizing the case where no customization
occurred; if so, can slip in a more streamlined version.
|
CollectionDeserializer |
CollectionDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer,
when it is known for which property deserializer is needed
for.
|
JsonDeserializer<?> |
EnumSetDeserializer.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<?> |
DelegatingDeserializer.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<?> |
DateDeserializers.DateBasedDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
MapEntryDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer,
when it is known for which property deserializer is needed for.
|
JsonDeserializer<?> |
ObjectArrayDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
ReferenceTypeDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
StdDelegatingDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
StringCollectionDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
EnumDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
protected NullValueProvider |
StdDeserializer.findContentNullProvider(DeserializationContext ctxt,
BeanProperty prop,
JsonDeserializer<?> valueDeser)
Method called to find
NullValueProvider for a contents of a structured
primary property (Collection, Map, array), using
"content nulls" setting. |
protected Nulls |
StdDeserializer.findContentNullStyle(DeserializationContext ctxt,
BeanProperty prop) |
protected JsonDeserializer<?> |
StdDeserializer.findConvertingContentDeserializer(DeserializationContext ctxt,
BeanProperty prop,
JsonDeserializer<?> existingDeserializer)
Helper method that can be used to see if specified property has annotation
indicating that a converter is to be used for contained values (contents
of structured types; array/List/Map values)
|
protected JsonDeserializer<Object> |
StdDeserializer.findDeserializer(DeserializationContext ctxt,
JavaType type,
BeanProperty property)
Helper method used to locate deserializers for properties the
type this deserializer handles contains (usually for properties of
bean types)
|
protected Boolean |
StdDeserializer.findFormatFeature(DeserializationContext ctxt,
BeanProperty prop,
Class<?> typeForDefaults,
JsonFormat.Feature feat)
Convenience method that uses
StdDeserializer.findFormatOverrides(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.BeanProperty, java.lang.Class<?>) to find possible
defaults and/of overrides, and then calls
JsonFormat.Value.getFeature(feat)
to find whether that feature has been specifically marked as enabled or disabled. |
protected JsonFormat.Value |
StdDeserializer.findFormatOverrides(DeserializationContext ctxt,
BeanProperty prop,
Class<?> typeForDefaults)
Helper method that may be used to find if this deserializer has specific
JsonFormat settings, either via property, or through type-specific
defaulting. |
Modifier and Type | Method and Description |
---|---|
JsonSerializer<?> |
CoreXMLSerializers.XMLGregorianCalendarSerializer.createContextual(SerializerProvider prov,
BeanProperty property) |
Modifier and Type | Class and Description |
---|---|
class |
ConcreteBeanPropertyBase
Intermediate
BeanProperty class shared by concrete readable- and
writable property implementations for sharing common functionality. |
Modifier and Type | Method and Description |
---|---|
void |
JsonObjectFormatVisitor.optionalProperty(BeanProperty writer) |
void |
JsonObjectFormatVisitor.Base.optionalProperty(BeanProperty prop) |
void |
JsonObjectFormatVisitor.property(BeanProperty writer)
Callback method called when a POJO property is being traversed.
|
void |
JsonObjectFormatVisitor.Base.property(BeanProperty prop) |
Modifier and Type | Method and Description |
---|---|
abstract TypeDeserializer |
TypeDeserializer.forProperty(BeanProperty prop)
Method called to create contextual version, to be used for
values of given property.
|
abstract TypeSerializer |
TypeSerializer.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 |
TypeDeserializerBase._property
Property that contains value for which type information
is included; null if value is a root value.
|
protected BeanProperty |
TypeSerializerBase._property |
Modifier and Type | Method and Description |
---|---|
TypeDeserializer |
AsWrapperTypeDeserializer.forProperty(BeanProperty prop) |
abstract TypeDeserializer |
TypeDeserializerBase.forProperty(BeanProperty prop) |
TypeDeserializer |
AsArrayTypeDeserializer.forProperty(BeanProperty prop) |
AsExternalTypeSerializer |
AsExternalTypeSerializer.forProperty(BeanProperty prop) |
AsArrayTypeSerializer |
AsArrayTypeSerializer.forProperty(BeanProperty prop) |
AsExistingPropertyTypeSerializer |
AsExistingPropertyTypeSerializer.forProperty(BeanProperty prop) |
TypeDeserializer |
AsExternalTypeDeserializer.forProperty(BeanProperty prop) |
TypeDeserializer |
AsPropertyTypeDeserializer.forProperty(BeanProperty prop) |
AsPropertyTypeSerializer |
AsPropertyTypeSerializer.forProperty(BeanProperty prop) |
AsWrapperTypeSerializer |
AsWrapperTypeSerializer.forProperty(BeanProperty prop) |
Constructor and Description |
---|
AsArrayTypeDeserializer(AsArrayTypeDeserializer src,
BeanProperty property) |
AsArrayTypeSerializer(TypeIdResolver idRes,
BeanProperty property) |
AsExistingPropertyTypeSerializer(TypeIdResolver idRes,
BeanProperty property,
String propName) |
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.
|
class |
PropertyWriter
Base class for writers used to output property values (name-value pairs)
as key/value pairs via streaming API.
|
class |
VirtualBeanPropertyWriter
BeanPropertyWriter implementation used with
JsonAppend
to add "virtual" properties in addition to regular ones. |
Modifier and Type | Field and Description |
---|---|
protected BeanProperty |
AnyGetterWriter._property |
Modifier and Type | Method and Description |
---|---|
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.
|
protected boolean |
ContainerSerializer.hasContentTypeAnnotation(SerializerProvider provider,
BeanProperty property)
Deprecated.
Since 2.7: should not be needed; should be enough to see if
type has 'isStatic' modifier
|
Constructor and Description |
---|
AnyGetterWriter(BeanProperty property,
AnnotatedMember accessor,
JsonSerializer<?> serializer) |
Modifier and Type | Class and Description |
---|---|
class |
AttributePropertyWriter
VirtualBeanPropertyWriter implementation used for
JsonAppend ,
to serialize properties backed-by dynamically assignable attribute
values. |
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 | Field and Description |
---|---|
protected BeanProperty |
MapEntrySerializer._property
Map-valued property being serialized with this instance
|
Modifier and Type | Method and Description |
---|---|
JsonSerializer<?> |
StringCollectionSerializer._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
JsonSerializer<?> |
StringArraySerializer._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
JsonSerializer<?> |
IndexedStringListSerializer._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
JsonSerializer<?> |
StringArraySerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
TypeWrappedSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
MapEntrySerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddKeySerializer(Class<?> type,
SerializerProvider provider,
BeanProperty property)
Method called if initial lookup fails, when looking for a key
serializer (possible attached indirectly to a property)
Will both find serializer
and construct new map instance if warranted, and return both.
|
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddPrimarySerializer(Class<?> type,
SerializerProvider provider,
BeanProperty property)
Method called if initial lookup fails, when looking for a primary
serializer (one that is directly attached to a property).
|
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddPrimarySerializer(JavaType type,
SerializerProvider provider,
BeanProperty property) |
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddSecondarySerializer(Class<?> type,
SerializerProvider provider,
BeanProperty property)
Method called if initial lookup fails, when looking for a non-primary
serializer (one that is not directly attached to a property).
|
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddSecondarySerializer(JavaType type,
SerializerProvider provider,
BeanProperty property) |
MapEntrySerializer |
MapEntrySerializer.withResolved(BeanProperty property,
JsonSerializer<?> keySerializer,
JsonSerializer<?> valueSerializer,
Object suppressableValue,
boolean suppressNulls) |
IndexedListSerializer |
IndexedListSerializer.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer,
Boolean unwrapSingle) |
IteratorSerializer |
IteratorSerializer.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer,
Boolean unwrapSingle) |
Modifier and Type | Class and Description |
---|---|
class |
MapProperty
Helper class needed to support flexible filtering of Map properties
with generic JSON Filter functionality.
|
Modifier and Type | Field and Description |
---|---|
protected BeanProperty |
ReferenceTypeSerializer._property |
protected BeanProperty |
AsArraySerializerBase._property
Collection-valued property being serialized with this instance
|
protected BeanProperty |
ArraySerializerBase._property |
protected BeanProperty |
JsonValueSerializer._property |
protected BeanProperty |
MapProperty._property |
protected BeanProperty |
MapSerializer._property
Map-valued property being serialized with this instance
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ReferenceTypeSerializer._useStatic(SerializerProvider provider,
BeanProperty property,
JavaType referredType) |
JsonSerializer<?> |
StdArraySerializers.BooleanArraySerializer._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
JsonSerializer<?> |
StdArraySerializers.ShortArraySerializer._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
JsonSerializer<?> |
StdArraySerializers.IntArraySerializer._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
JsonSerializer<?> |
StdArraySerializers.LongArraySerializer._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
JsonSerializer<?> |
StdArraySerializers.FloatArraySerializer._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
JsonSerializer<?> |
StdArraySerializers.DoubleArraySerializer._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
abstract JsonSerializer<?> |
StaticListSerializerBase._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
abstract JsonSerializer<?> |
ArraySerializerBase._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
JsonSerializer<?> |
ObjectArraySerializer._withResolved(BeanProperty prop,
Boolean unwrapSingle) |
JsonSerializer<?> |
InetAddressSerializer.createContextual(SerializerProvider serializers,
BeanProperty property) |
JsonSerializer<?> |
ReferenceTypeSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
AsArraySerializerBase.createContextual(SerializerProvider serializers,
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. |
JsonSerializer<?> |
EnumSerializer.createContextual(SerializerProvider serializers,
BeanProperty property)
To support some level of per-property configuration, we will need
to make things contextual.
|
JsonSerializer<?> |
StaticListSerializerBase.createContextual(SerializerProvider serializers,
BeanProperty property) |
JsonSerializer<?> |
ArraySerializerBase.createContextual(SerializerProvider serializers,
BeanProperty property) |
JsonSerializer<?> |
BeanSerializerBase.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
StdDelegatingSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
DateTimeSerializerBase.createContextual(SerializerProvider serializers,
BeanProperty property) |
JsonSerializer<?> |
BooleanSerializer.createContextual(SerializerProvider serializers,
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<?> |
NumberSerializer.createContextual(SerializerProvider prov,
BeanProperty property) |
JsonSerializer<?> |
NumberSerializers.Base.createContextual(SerializerProvider prov,
BeanProperty property) |
JsonSerializer<?> |
ObjectArraySerializer.createContextual(SerializerProvider serializers,
BeanProperty property) |
JsonSerializer<?> |
MapSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
protected JsonSerializer<?> |
StdSerializer.findAnnotatedContentSerializer(SerializerProvider serializers,
BeanProperty property)
Convenience method for finding out possibly configured content value serializer.
|
protected JsonSerializer<?> |
StdSerializer.findContextualConvertingSerializer(SerializerProvider provider,
BeanProperty property,
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)
|
protected JsonSerializer<?> |
StdSerializer.findConvertingContentSerializer(SerializerProvider provider,
BeanProperty prop,
JsonSerializer<?> existingSerializer)
|
protected Boolean |
StdSerializer.findFormatFeature(SerializerProvider provider,
BeanProperty prop,
Class<?> typeForDefaults,
JsonFormat.Feature feat)
Convenience method that uses
StdSerializer.findFormatOverrides(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.BeanProperty, java.lang.Class<?>) to find possible
defaults and/of overrides, and then calls JsonFormat.Value.getFeature(...)
to find whether that feature has been specifically marked as enabled or disabled. |
protected JsonFormat.Value |
StdSerializer.findFormatOverrides(SerializerProvider provider,
BeanProperty prop,
Class<?> typeForDefaults)
Helper method that may be used to find if this deserializer has specific
JsonFormat settings, either via property, or through type-specific
defaulting. |
protected JsonInclude.Value |
StdSerializer.findIncludeOverrides(SerializerProvider provider,
BeanProperty prop,
Class<?> typeForDefaults) |
JsonValueSerializer |
JsonValueSerializer.withResolved(BeanProperty property,
JsonSerializer<?> ser,
boolean forceTypeInfo) |
MapSerializer |
MapSerializer.withResolved(BeanProperty property,
JsonSerializer<?> keySerializer,
JsonSerializer<?> valueSerializer,
Set<String> ignored,
boolean sortKeys) |
AsArraySerializerBase<T> |
AsArraySerializerBase.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer)
Deprecated.
since 2.6: use the overloaded method that takes 'unwrapSingle'
|
abstract AsArraySerializerBase<T> |
AsArraySerializerBase.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer,
Boolean unwrapSingle) |
CollectionSerializer |
CollectionSerializer.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer,
Boolean unwrapSingle) |
IterableSerializer |
IterableSerializer.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer,
Boolean unwrapSingle) |
EnumSetSerializer |
EnumSetSerializer.withResolved(BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> elementSerializer,
Boolean unwrapSingle) |
ObjectArraySerializer |
ObjectArraySerializer.withResolved(BeanProperty prop,
TypeSerializer vts,
JsonSerializer<?> ser,
Boolean unwrapSingle) |
protected abstract ReferenceTypeSerializer<T> |
ReferenceTypeSerializer.withResolved(BeanProperty prop,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper)
Mutant factory method called when changes are needed; should construct
newly configured instance with new values as indicated.
|
protected ReferenceTypeSerializer<AtomicReference<?>> |
AtomicReferenceSerializer.withResolved(BeanProperty prop,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper) |
Modifier and Type | Class and Description |
---|---|
class |
Jdk8OptionalBeanPropertyWriter |
class |
Jdk8UnwrappingOptionalBeanPropertyWriter |
Modifier and Type | Method and Description |
---|---|
JsonSerializer<?> |
StreamSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
protected ReferenceTypeSerializer<Optional<?>> |
OptionalSerializer.withResolved(BeanProperty prop,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper) |
Constructor and Description |
---|
OptionalSerializer(OptionalSerializer base,
BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper,
Object suppressableValue,
boolean suppressNulls) |
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<T> |
InstantDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
JSR310DateTimeDeserializerBase.createContextual(DeserializationContext ctxt,
BeanProperty property) |
Modifier and Type | Class and Description |
---|---|
class |
EndpointAsBeanProperty
BeanProperty implementation used for passing annotations
from JAX-RS endpoint into Jackson. |
Copyright © 2019 JBoss by Red Hat. All rights reserved.