Uses of Interface
tools.jackson.databind.BeanProperty
Packages that use BeanProperty
Package
Description
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.Contains implementation classes of deserialization part of
data binding.
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
Package that contains standard value and key deserializer implementations
Jackson uses for its own public types.
Package that contains standard value and key deserializer implementations
Jackson uses for core JDK types.
Package that contains standard value and key deserializer base classes
that Jackson both uses for its own implementations and offers for
module developers as convenient partial implementations.
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.
Package that contains handlers specific to datatypes introduced in Java 8.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Classes used for exposing logical structure of POJOs as Jackson
sees it, and exposed via
ObjectMapper.acceptJsonFormatVisitor(Class, JsonFormatVisitorWrapper)
and
ObjectMapper.acceptJsonFormatVisitor(tools.jackson.databind.JavaType, JsonFormatVisitorWrapper)
methods.Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver
.Contains implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
-
Uses of BeanProperty in tools.jackson.databind
Classes in tools.jackson.databind that implement BeanPropertyModifier and TypeClassDescriptionstatic class
Alternative "Null" implementation that can be used in cases where a non-nullBeanProperty
is neededstatic class
Simple stand-alone implementation, useful as a placeholder or base class for more complex implementations.Methods in tools.jackson.databind with parameters of type BeanPropertyModifier and TypeMethodDescriptionprotected ValueSerializer<Object>
SerializationContext._createAndCachePropertySerializer
(Class<?> rawType, JavaType fullType, BeanProperty prop) Alternative toSerializationContext._createAndCacheUntypedSerializer(Class, JavaType)
, used when serializer is requested for given property.protected ValueSerializer<Object>
SerializationContext._createAndCachePropertySerializer
(JavaType type, BeanProperty prop) Alternative toSerializationContext._createAndCacheUntypedSerializer(JavaType)
, used when serializer is requested for given property.ValueDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) Method called to see if a different (or differently configured) deserializer is needed to deserialize values of specified property.ValueSerializer.createContextual
(SerializationContext ctxt, BeanProperty property) Method called to see if a different (or differently configured) serializer is needed to serialize values of specified property (or, for root values, in which case `null` is passed).SerializationContext.findContentValueSerializer
(Class<?> rawType, BeanProperty property) SerializationContext.findContentValueSerializer
(JavaType valueType, BeanProperty property) Method similar toSerializationContext.findPrimaryPropertySerializer(JavaType, BeanProperty)
but used for "content values", secondary types used by "primary" serializers for structured types like Arrays,Collection
s,Map
s and so on.final ValueDeserializer<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.final Object
DeserializationContext.findInjectableValue
(Object valueId, BeanProperty forProperty, Object beanInstance, Boolean optional) abstract Object
InjectableValues.findInjectableValue
(DeserializationContext ctxt, Object valueId, BeanProperty forProperty, Object beanInstance, Boolean optional) Method called to find value identified by idvalueId
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).InjectableValues.Std.findInjectableValue
(DeserializationContext ctxt, Object valueId, BeanProperty forProperty, Object beanInstance, Boolean optional) final KeyDeserializer
DeserializationContext.findKeyDeserializer
(JavaType keyType, BeanProperty prop) SerializationContext.findKeySerializer
(Class<?> rawKeyType, BeanProperty property) SerializationContext.findKeySerializer
(JavaType keyType, BeanProperty property) Method called to get the serializer to use for serializing non-null Map keys.SerializationContext.findNullKeySerializer
(JavaType serializationType, BeanProperty property) Method called to find a serializer to use for null values for given declared type.SerializationContext.findNullValueSerializer
(BeanProperty property) Method called to get the serializer to use for serializing null values for specified property.SerializationContext.findPrimaryPropertySerializer
(Class<?> rawType, BeanProperty property) SerializationContext.findPrimaryPropertySerializer
(JavaType valueType, BeanProperty property) Method used for locating "primary" property value serializer (one directly handling value of the property).DeserializationContext.handlePrimaryContextualization
(ValueDeserializer<?> 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 callingValueDeserializer.createContextual(tools.jackson.databind.DeserializationContext, tools.jackson.databind.BeanProperty)
with given property context.SerializationContext.handlePrimaryContextualization
(ValueSerializer<?> ser, BeanProperty property) Method called for primary property serializers (ones directly created to serialize values of a POJO property), to handle details of contextualization, callingValueSerializer.createContextual(SerializationContext, BeanProperty)
with given property context.DeserializationContext.handleSecondaryContextualization
(ValueDeserializer<?> 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 resolvingValueDeserializer.createContextual(tools.jackson.databind.DeserializationContext, tools.jackson.databind.BeanProperty)
with given property context.SerializationContext.handleSecondaryContextualization
(ValueSerializer<?> 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 contextualization, callingValueSerializer.createContextual(SerializationContext, BeanProperty)
with given property context.DeserializationContext.missingInjectableValueException
(String msg, Object valueId, BeanProperty forProperty, Object beanInstance) <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) Same asDeserializationContext.readPropertyValue(JsonParser, BeanProperty, Class)
but with fully resolvedJavaType
as target: needs to be used for generic types, for example.<T> T
DeserializationContext.reportInputMismatch
(BeanProperty prop, String msg, Object... msgArgs) Helper method used to indicate a problem with input in cases where more specificreportXxx()
method was not available. -
Uses of BeanProperty in tools.jackson.databind.deser
Classes in tools.jackson.databind.deser that implement BeanPropertyModifier and TypeClassDescriptionclass
This concrete sub-class implements property that is passed via Creator (constructor or static factory method).class
Base class for deserializable properties of a bean: contains both type and name definitions, and reflection-based set functionality.static class
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.Fields in tools.jackson.databind.deser declared as BeanPropertyModifier and TypeFieldDescriptionprotected final BeanProperty
SettableAnyProperty._property
Method used for setting "any" properties, along with annotation information.Methods in tools.jackson.databind.deser that return BeanPropertyMethods in tools.jackson.databind.deser with parameters of type BeanPropertyModifier and TypeMethodDescriptionstatic SettableAnyProperty
SettableAnyProperty.constructForJsonNodeField
(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, ValueDeserializer<Object> valueDeser) static SettableAnyProperty
SettableAnyProperty.constructForJsonNodeParameter
(DeserializationContext ctxt, BeanProperty prop, AnnotatedMember mutator, JavaType valueType, ValueDeserializer<Object> valueDeser, int parameterIndex) static SettableAnyProperty
SettableAnyProperty.constructForMapField
(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser) static SettableAnyProperty
SettableAnyProperty.constructForMapParameter
(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser, int parameterIndex) static SettableAnyProperty
SettableAnyProperty.constructForMethod
(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser) AbstractDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) 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.Constructors in tools.jackson.databind.deser with parameters of type BeanPropertyModifierConstructorDescriptionJsonNodeFieldAnyProperty
(BeanProperty property, AnnotatedMember field, JavaType valueType, ValueDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory) JsonNodeParameterAnyProperty
(BeanProperty property, AnnotatedMember field, JavaType valueType, ValueDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory, int parameterIndex) MapFieldAnyProperty
(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser, ValueInstantiator inst) MapParameterAnyProperty
(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser, ValueInstantiator inst, int parameterIndex) MethodAnyProperty
(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser) SettableAnyProperty
(BeanProperty property, AnnotatedMember setter, JavaType type, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser) -
Uses of BeanProperty in tools.jackson.databind.deser.bean
Methods in tools.jackson.databind.deser.bean with parameters of type BeanPropertyModifier and TypeMethodDescriptionBeanDeserializerBase.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. -
Uses of BeanProperty in tools.jackson.databind.deser.impl
Classes in tools.jackson.databind.deser.impl that implement BeanPropertyModifier and TypeClassDescriptionfinal class
This sub-class is used to handle special case of value being a non-static inner class.final class
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
SettableBeanProperty
implementation that will try to access value of the property first, and if non-null value found, pass that for update (usingValueDeserializer.deserialize(tools.jackson.core.JsonParser, tools.jackson.databind.DeserializationContext, Object)
) instead of constructing a new value.final class
This concrete sub-class implements property that is set using aMethodHandle
to the setter, which is either a setter method or a field setter.class
final class
SpecializedSettableBeanProperty
implementation used for virtual property that represents Object Id that is used for some POJO types (or properties).final class
This concrete sub-class implements Collection or Map property that is indirectly by getting the property value and directly modifying it.class
Class that encapsulates details of value injection that occurs before deserialization of a POJO.Methods in tools.jackson.databind.deser.impl with parameters of type BeanPropertyModifier and TypeMethodDescriptionstatic NullsFailProvider
NullsFailProvider.constructForProperty
(BeanProperty prop) static NullsFailProvider
NullsFailProvider.constructForProperty
(BeanProperty prop, JavaType type) -
Uses of BeanProperty in tools.jackson.databind.deser.jackson
Methods in tools.jackson.databind.deser.jackson with parameters of type BeanPropertyModifier and TypeMethodDescriptionBaseNodeDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) -
Uses of BeanProperty in tools.jackson.databind.deser.jdk
Methods in tools.jackson.databind.deser.jdk with parameters of type BeanPropertyModifier and TypeMethodDescriptionCollectionDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) Method called to finalize setup of this deserializer, when it is known for which property deserializer is needed for.DateBasedDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) EnumDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) 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.EnumSetDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) 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.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.ObjectArrayDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) PrimitiveArrayDeserializers.createContextual
(DeserializationContext ctxt, BeanProperty property) 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.StringCollectionDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) 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. -
Uses of BeanProperty in tools.jackson.databind.deser.std
Methods in tools.jackson.databind.deser.std with parameters of type BeanPropertyModifier and TypeMethodDescriptionprotected final NullValueProvider
StdDeserializer._findNullProvider
(DeserializationContext ctxt, BeanProperty prop, Nulls nulls, ValueDeserializer<?> valueDeser) DelegatingDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) ReferenceTypeDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) StdConvertingDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) protected NullValueProvider
StdDeserializer.findContentNullProvider
(DeserializationContext ctxt, BeanProperty prop, ValueDeserializer<?> valueDeser) Method called to findNullValueProvider
for a contents of a structured primary property (Collection, Map, array), using "content nulls" setting.protected Nulls
StdDeserializer.findContentNullStyle
(DeserializationContext ctxt, BeanProperty prop) protected ValueDeserializer<?>
StdDeserializer.findConvertingContentDeserializer
(DeserializationContext ctxt, BeanProperty prop, ValueDeserializer<?> 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 ValueDeserializer<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 usesStdDeserializer.findFormatOverrides(tools.jackson.databind.DeserializationContext, tools.jackson.databind.BeanProperty, java.lang.Class<?>)
to find possible defaults and/of overrides, and then callsJsonFormat.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 specificJsonFormat
settings, either via property, or through type-specific defaulting. -
Uses of BeanProperty in tools.jackson.databind.exc
Fields in tools.jackson.databind.exc declared as BeanPropertyModifier and TypeFieldDescriptionprotected final BeanProperty
MissingInjectableValueExcepion._forProperty
Methods in tools.jackson.databind.exc that return BeanPropertyMethods in tools.jackson.databind.exc with parameters of type BeanPropertyModifier and TypeMethodDescriptionMissingInjectableValueExcepion.from
(JsonParser p, String msg, Object valueId, BeanProperty forProperty, Object beanInstance) Constructors in tools.jackson.databind.exc with parameters of type BeanPropertyModifierConstructorDescriptionprotected
MissingInjectableValueExcepion
(JsonParser p, String msg, Object valueId, BeanProperty forProperty, Object beanInstance) -
Uses of BeanProperty in tools.jackson.databind.ext
Methods in tools.jackson.databind.ext with parameters of type BeanPropertyModifier and TypeMethodDescriptionQNameSerializer.createContextual
(SerializationContext serializers, BeanProperty property) XMLGregorianCalendarSerializer.createContextual
(SerializationContext ctxt, BeanProperty property) -
Uses of BeanProperty in tools.jackson.databind.ext.javatime.deser
Methods in tools.jackson.databind.ext.javatime.deser with parameters of type BeanPropertyModifier and TypeMethodDescriptionprotected JSR310DateTimeDeserializerBase<?>
InstantDeserializer._withFormatOverrides
(DeserializationContext ctxt, BeanProperty property, JsonFormat.Value formatOverrides) protected JSR310DateTimeDeserializerBase<?>
JSR310DateTimeDeserializerBase._withFormatOverrides
(DeserializationContext ctxt, BeanProperty property, JsonFormat.Value formatOverrides) protected JSR310DateTimeDeserializerBase<?>
LocalDateTimeDeserializer._withFormatOverrides
(DeserializationContext ctxt, BeanProperty property, JsonFormat.Value formatOverrides) protected JSR310DateTimeDeserializerBase<?>
LocalTimeDeserializer._withFormatOverrides
(DeserializationContext ctxt, BeanProperty property, JsonFormat.Value formatOverrides) protected JSR310DateTimeDeserializerBase<?>
OffsetTimeDeserializer._withFormatOverrides
(DeserializationContext ctxt, BeanProperty property, JsonFormat.Value formatOverrides) DurationDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) JSR310DateTimeDeserializerBase.createContextual
(DeserializationContext ctxt, BeanProperty property) JSR310StringParsableDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) -
Uses of BeanProperty in tools.jackson.databind.ext.javatime.ser
Methods in tools.jackson.databind.ext.javatime.ser with parameters of type BeanPropertyModifier and TypeMethodDescriptionDurationSerializer.createContextual
(SerializationContext ctxt, BeanProperty property) -
Uses of BeanProperty in tools.jackson.databind.ext.jdk8
Methods in tools.jackson.databind.ext.jdk8 with parameters of type BeanPropertyModifier and TypeMethodDescriptionJdk8StreamSerializer.createContextual
(SerializationContext provider, BeanProperty property) protected ReferenceTypeSerializer<Optional<?>>
Jdk8OptionalSerializer.withResolved
(BeanProperty prop, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper) Constructors in tools.jackson.databind.ext.jdk8 with parameters of type BeanPropertyModifierConstructorDescriptionprotected
Jdk8OptionalSerializer
(Jdk8OptionalSerializer base, BeanProperty property, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper, Object suppressableValue, boolean suppressNulls) -
Uses of BeanProperty in tools.jackson.databind.introspect
Classes in tools.jackson.databind.introspect that implement BeanPropertyModifier and TypeClassDescriptionclass
IntermediateBeanProperty
class shared by concrete readable- and writable property implementations for sharing common functionality. -
Uses of BeanProperty in tools.jackson.databind.jsonFormatVisitors
Methods in tools.jackson.databind.jsonFormatVisitors with parameters of type BeanPropertyModifier and TypeMethodDescriptionvoid
JsonObjectFormatVisitor.Base.optionalProperty
(BeanProperty prop) void
JsonObjectFormatVisitor.optionalProperty
(BeanProperty writer) void
JsonObjectFormatVisitor.Base.property
(BeanProperty prop) void
JsonObjectFormatVisitor.property
(BeanProperty writer) Callback method called when a POJO property is being traversed. -
Uses of BeanProperty in tools.jackson.databind.jsontype
Methods in tools.jackson.databind.jsontype with parameters of type BeanPropertyModifier and TypeMethodDescriptionabstract TypeDeserializer
TypeDeserializer.forProperty
(BeanProperty prop) Method called to create contextual version, to be used for values of given property.abstract TypeSerializer
TypeSerializer.forProperty
(SerializationContext ctxt, BeanProperty prop) Method called to create contextual version, to be used for values of given property. -
Uses of BeanProperty in tools.jackson.databind.jsontype.impl
Fields in tools.jackson.databind.jsontype.impl declared as BeanPropertyModifier and TypeFieldDescriptionprotected final BeanProperty
TypeDeserializerBase._property
Property that contains value for which type information is included; null if value is a root value.protected final BeanProperty
TypeSerializerBase._property
Methods in tools.jackson.databind.jsontype.impl with parameters of type BeanPropertyModifier and TypeMethodDescriptionAsArrayTypeDeserializer.forProperty
(BeanProperty prop) AsArrayTypeSerializer.forProperty
(SerializationContext ctxt, BeanProperty prop) AsDeductionTypeDeserializer.forProperty
(BeanProperty prop) AsDeductionTypeSerializer.forProperty
(SerializationContext ctxt, BeanProperty prop) AsExistingPropertyTypeSerializer.forProperty
(SerializationContext ctxt, BeanProperty prop) AsExternalTypeDeserializer.forProperty
(BeanProperty prop) AsExternalTypeSerializer.forProperty
(SerializationContext ctxt, BeanProperty prop) AsPropertyTypeDeserializer.forProperty
(BeanProperty prop) AsPropertyTypeSerializer.forProperty
(SerializationContext ctxt, BeanProperty prop) AsWrapperTypeDeserializer.forProperty
(BeanProperty prop) AsWrapperTypeSerializer.forProperty
(SerializationContext ctxt, BeanProperty prop) abstract TypeDeserializer
TypeDeserializerBase.forProperty
(BeanProperty prop) Constructors in tools.jackson.databind.jsontype.impl with parameters of type BeanPropertyModifierConstructorDescriptionAsArrayTypeDeserializer
(AsArrayTypeDeserializer src, BeanProperty property) AsArrayTypeSerializer
(TypeIdResolver idRes, BeanProperty property) AsDeductionTypeDeserializer
(AsDeductionTypeDeserializer src, 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) protected
AsWrapperTypeDeserializer
(AsWrapperTypeDeserializer src, BeanProperty property) AsWrapperTypeSerializer
(TypeIdResolver idRes, BeanProperty property) protected
TypeDeserializerBase
(TypeDeserializerBase src, BeanProperty property) protected
TypeSerializerBase
(TypeIdResolver idRes, BeanProperty property) -
Uses of BeanProperty in tools.jackson.databind.ser
Classes in tools.jackson.databind.ser that implement BeanPropertyModifier and TypeClassDescriptionclass
Class similar toBeanPropertyWriter
, but that will be used for serializingJsonAnyGetter
annotated (Map) propertiesclass
Base bean property handler class, which implements common parts of reflection-based functionality for accessing a property value and serializing it.class
Base class for writers used to output property values (name-value pairs) as key/value pairs via streaming API.class
BeanPropertyWriter
implementation used withJsonAppend
to add "virtual" properties in addition to regular ones.Fields in tools.jackson.databind.ser declared as BeanPropertyConstructors in tools.jackson.databind.ser with parameters of type BeanPropertyModifierConstructorDescriptionAnyGetterWriter
(BeanPropertyWriter parent, BeanProperty property, AnnotatedMember accessor, ValueSerializer<?> serializer) -
Uses of BeanProperty in tools.jackson.databind.ser.bean
Classes in tools.jackson.databind.ser.bean that implement BeanPropertyModifier and TypeClassDescriptionclass
Variant ofBeanPropertyWriter
which will handle unwrapping of JSON Object (including of properties of Object within surrounding JSON object, and not as sub-object).Methods in tools.jackson.databind.ser.bean with parameters of type BeanPropertyModifier and TypeMethodDescriptionBeanSerializerBase.createContextual
(SerializationContext ctxt, BeanProperty property) -
Uses of BeanProperty in tools.jackson.databind.ser.impl
Classes in tools.jackson.databind.ser.impl that implement BeanPropertyModifier and TypeClassDescriptionclass
VirtualBeanPropertyWriter
implementation used forJsonAppend
, to serialize properties backed-by dynamically assignable attribute values.Methods in tools.jackson.databind.ser.impl with parameters of type BeanPropertyModifier and TypeMethodDescriptionTypeWrappedSerializer.createContextual
(SerializationContext provider, BeanProperty property) PropertySerializerMap.findAndAddKeySerializer
(Class<?> type, SerializationContext 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.findAndAddPrimarySerializer
(JavaType type, SerializationContext provider, BeanProperty property) Method called if initial lookup fails, when looking for a primary serializer (one that is directly attached to a property).PropertySerializerMap.findAndAddSecondarySerializer
(Class<?> type, SerializationContext 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.findAndAddSecondarySerializer
(Class<?> type, SerializationContext provider, BeanProperty property, UnaryOperator<ValueSerializer<Object>> serTransformer) PropertySerializerMap.findAndAddSecondarySerializer
(JavaType type, SerializationContext provider, BeanProperty property) PropertySerializerMap.findAndAddSecondarySerializer
(JavaType type, SerializationContext provider, BeanProperty property, UnaryOperator<ValueSerializer<Object>> serTransformer) -
Uses of BeanProperty in tools.jackson.databind.ser.jackson
Methods in tools.jackson.databind.ser.jackson with parameters of type BeanPropertyModifier and TypeMethodDescriptionJsonValueSerializer.createContextual
(SerializationContext ctxt, BeanProperty property) We can try to find the actual serializer for value, if we can statically figure out what the result type must be.JsonValueSerializer.withResolved
(BeanProperty property, TypeSerializer vts, ValueSerializer<?> ser, boolean forceTypeInfo) Constructors in tools.jackson.databind.ser.jackson with parameters of type BeanPropertyModifierConstructorDescriptionprotected
JsonValueSerializer
(JsonValueSerializer src, BeanProperty property, TypeSerializer vts, ValueSerializer<?> ser, boolean forceTypeInfo) -
Uses of BeanProperty in tools.jackson.databind.ser.jdk
Classes in tools.jackson.databind.ser.jdk that implement BeanPropertyModifier and TypeClassDescriptionclass
Helper class needed to support flexible filtering of Map properties with generic JSON Filter functionality.Fields in tools.jackson.databind.ser.jdk declared as BeanPropertyMethods in tools.jackson.databind.ser.jdk with parameters of type BeanPropertyModifier and TypeMethodDescriptionIndexedStringListSerializer._withResolved
(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.BooleanArraySerializer._withResolved
(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.DoubleArraySerializer._withResolved
(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.FloatArraySerializer._withResolved
(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.IntArraySerializer._withResolved
(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.LongArraySerializer._withResolved
(BeanProperty prop, Boolean unwrapSingle) JDKArraySerializers.ShortArraySerializer._withResolved
(BeanProperty prop, Boolean unwrapSingle) ObjectArraySerializer._withResolved
(BeanProperty prop, Boolean unwrapSingle) abstract ValueSerializer<?>
StaticListSerializerBase._withResolved
(BeanProperty prop, Boolean unwrapSingle) StringArraySerializer._withResolved
(BeanProperty prop, Boolean unwrapSingle) StringCollectionSerializer._withResolved
(BeanProperty prop, Boolean unwrapSingle) BooleanSerializer.createContextual
(SerializationContext serializers, BeanProperty property) DateTimeSerializerBase.createContextual
(SerializationContext serializers, BeanProperty property) EnumSerializer.createContextual
(SerializationContext ctxt, BeanProperty property) To support some level of per-property configuration, we will need to make things contextual.InetAddressSerializer.createContextual
(SerializationContext ctxt, BeanProperty property) MapEntrySerializer.createContextual
(SerializationContext provider, BeanProperty property) MapSerializer.createContextual
(SerializationContext ctxt, BeanProperty property) NumberSerializer.createContextual
(SerializationContext prov, BeanProperty property) NumberSerializers.Base.createContextual
(SerializationContext prov, BeanProperty property) ObjectArraySerializer.createContextual
(SerializationContext ctxt, BeanProperty property) StaticListSerializerBase.createContextual
(SerializationContext serializers, BeanProperty property) StringArraySerializer.createContextual
(SerializationContext provider, BeanProperty property) UUIDSerializer.createContextual
(SerializationContext serializers, BeanProperty property) protected ReferenceTypeSerializer<AtomicReference<?>>
AtomicReferenceSerializer.withResolved
(BeanProperty prop, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper) protected CollectionSerializer
CollectionSerializer.withResolved
(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) protected EnumSetSerializer
EnumSetSerializer.withResolved
(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) IndexedListSerializer.withResolved
(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) IterableSerializer.withResolved
(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) IteratorSerializer.withResolved
(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) MapEntrySerializer.withResolved
(BeanProperty property, ValueSerializer<?> keySerializer, ValueSerializer<?> valueSerializer, Object suppressableValue, boolean suppressNulls) protected MapSerializer
MapSerializer.withResolved
(BeanProperty property, ValueSerializer<?> keySerializer, ValueSerializer<?> valueSerializer, Set<String> ignored, Set<String> included, boolean sortKeys) ObjectArraySerializer.withResolved
(BeanProperty prop, TypeSerializer vts, ValueSerializer<?> ser, Boolean unwrapSingle) Constructors in tools.jackson.databind.ser.jdk with parameters of type BeanPropertyModifierConstructorDescriptionprotected
AtomicReferenceSerializer
(AtomicReferenceSerializer base, BeanProperty property, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper, Object suppressableValue, boolean suppressNulls) protected
BooleanArraySerializer
(JDKArraySerializers.BooleanArraySerializer src, BeanProperty prop, Boolean unwrapSingle) protected
CollectionSerializer
(CollectionSerializer src, TypeSerializer vts, ValueSerializer<?> valueSerializer, Boolean unwrapSingle, BeanProperty property) protected
DoubleArraySerializer
(JDKArraySerializers.DoubleArraySerializer src, BeanProperty prop, Boolean unwrapSingle) EnumSetSerializer
(EnumSetSerializer src, TypeSerializer vts, ValueSerializer<?> valueSerializer, Boolean unwrapSingle, BeanProperty property) FloatArraySerializer
(JDKArraySerializers.FloatArraySerializer src, BeanProperty prop, Boolean unwrapSingle) IndexedListSerializer
(IndexedListSerializer src, TypeSerializer vts, ValueSerializer<?> valueSerializer, Boolean unwrapSingle, BeanProperty property) protected
IntArraySerializer
(JDKArraySerializers.IntArraySerializer src, BeanProperty prop, Boolean unwrapSingle) IterableSerializer
(IterableSerializer src, TypeSerializer vts, ValueSerializer<?> valueSerializer, Boolean unwrapSingle, BeanProperty property) IteratorSerializer
(IteratorSerializer src, TypeSerializer vts, ValueSerializer<?> valueSerializer, Boolean unwrapSingle, BeanProperty property) LongArraySerializer
(JDKArraySerializers.LongArraySerializer src, BeanProperty prop, Boolean unwrapSingle) MapEntrySerializer
(JavaType type, JavaType keyType, JavaType valueType, boolean staticTyping, TypeSerializer vts, BeanProperty property) protected
MapEntrySerializer
(MapEntrySerializer src, BeanProperty property, TypeSerializer vts, ValueSerializer<?> keySer, ValueSerializer<?> valueSer, Object suppressableValue, boolean suppressNulls) MapProperty
(TypeSerializer typeSer, BeanProperty prop) protected
MapSerializer
(MapSerializer src, BeanProperty property, ValueSerializer<?> keySerializer, ValueSerializer<?> valueSerializer, Set<String> ignoredEntries, Set<String> includedEntries) ObjectArraySerializer
(ObjectArraySerializer src, BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) ShortArraySerializer
(JDKArraySerializers.ShortArraySerializer src, BeanProperty prop, Boolean unwrapSingle) StringArraySerializer
(StringArraySerializer src, BeanProperty prop, ValueSerializer<?> ser, Boolean unwrapSingle) protected
TypedPrimitiveArraySerializer
(JDKArraySerializers.TypedPrimitiveArraySerializer<T> src, BeanProperty prop, Boolean unwrapSingle) -
Uses of BeanProperty in tools.jackson.databind.ser.std
Fields in tools.jackson.databind.ser.std declared as BeanPropertyModifier and TypeFieldDescriptionprotected final BeanProperty
StdContainerSerializer._property
Property that contains values handled by this serializer, if known; `null` for root value serializers (ones directly called byObjectMapper
andObjectWriter
).protected final BeanProperty
StdDelegatingSerializer._property
protected final BeanProperty
StdDynamicSerializer._property
Property for which this serializer is being used, if known at this point (`null` for root value serializers as well as those cached as blueprints).Methods in tools.jackson.databind.ser.std with parameters of type BeanPropertyModifier and TypeMethodDescriptionprotected boolean
ReferenceTypeSerializer._useStatic
(SerializationContext serializers, BeanProperty property, JavaType referredType) abstract ValueSerializer<?>
ArraySerializerBase._withResolved
(BeanProperty prop, Boolean unwrapSingle) ArraySerializerBase.createContextual
(SerializationContext serializers, BeanProperty property) AsArraySerializerBase.createContextual
(SerializationContext ctxt, BeanProperty property) This method is needed to resolve contextual annotations like per-property overrides, as well as do recursive call tocreateContextual
of content serializer, if known statically.ReferenceTypeSerializer.createContextual
(SerializationContext ctxt, BeanProperty property) StdDelegatingSerializer.createContextual
(SerializationContext ctxt, BeanProperty property) protected ValueSerializer<?>
StdSerializer.findAnnotatedContentSerializer
(SerializationContext serializers, BeanProperty property) Convenience method for finding out possibly configured content value serializer.protected ValueSerializer<?>
StdSerializer.findContextualConvertingSerializer
(SerializationContext provider, BeanProperty prop, ValueSerializer<?> 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 Boolean
StdSerializer.findFormatFeature
(SerializationContext provider, BeanProperty prop, Class<?> typeForDefaults, JsonFormat.Feature feat) Convenience method that usesStdSerializer.findFormatOverrides(tools.jackson.databind.SerializationContext, tools.jackson.databind.BeanProperty, java.lang.Class<?>)
to find possible defaults and/of overrides, and then callsJsonFormat.Value.getFeature(...)
to find whether that feature has been specifically marked as enabled or disabled.protected JsonFormat.Value
StdSerializer.findFormatOverrides
(SerializationContext provider, BeanProperty prop, Class<?> typeForDefaults) Helper method that may be used to find if this deserializer has specificJsonFormat
settings, either via property, or through type-specific defaulting.protected JsonInclude.Value
StdSerializer.findIncludeOverrides
(SerializationContext provider, BeanProperty prop, Class<?> typeForDefaults) protected StdDelegatingSerializer
StdDelegatingSerializer.withDelegate
(Converter<Object, ?> converter, JavaType delegateType, ValueSerializer<?> delegateSerializer, BeanProperty prop) Method used for creating resolved contextual instances.protected abstract AsArraySerializerBase<T>
AsArraySerializerBase.withResolved
(BeanProperty property, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle) protected abstract ReferenceTypeSerializer<T>
ReferenceTypeSerializer.withResolved
(BeanProperty prop, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper) Mutant factory method called when changes are needed; should construct newly configured instance with new values as indicated.Constructors in tools.jackson.databind.ser.std with parameters of type BeanPropertyModifierConstructorDescriptionprotected
ArraySerializerBase
(ArraySerializerBase<?> src, BeanProperty property, Boolean unwrapSingle) protected
AsArraySerializerBase
(Class<?> cls, JavaType elementType, boolean staticTyping, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle, BeanProperty property) General purpose constructor.protected
AsArraySerializerBase
(AsArraySerializerBase<?> src, TypeSerializer vts, ValueSerializer<?> elementSerializer, Boolean unwrapSingle, BeanProperty property) protected
ReferenceTypeSerializer
(ReferenceTypeSerializer<?> base, BeanProperty property, TypeSerializer vts, ValueSerializer<?> valueSer, NameTransformer unwrapper, Object suppressableValue, boolean suppressNulls) protected
StdContainerSerializer
(Class<?> t, BeanProperty prop) protected
StdContainerSerializer
(JavaType fullType, BeanProperty prop) protected
StdContainerSerializer
(StdContainerSerializer<?> src, BeanProperty prop) StdDelegatingSerializer
(Converter<Object, ?> converter, JavaType delegateType, ValueSerializer<?> delegateSerializer, BeanProperty prop) protected
StdDynamicSerializer
(JavaType type, BeanProperty prop, TypeSerializer vts, ValueSerializer<?> valueSer) protected
StdDynamicSerializer
(StdDynamicSerializer<?> src, BeanProperty prop) protected
StdDynamicSerializer
(StdDynamicSerializer<?> src, BeanProperty prop, TypeSerializer vts, ValueSerializer<?> valueSer)