Uses of Class
com.fasterxml.jackson.databind.PropertyMetadata
Packages that use PropertyMetadata
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.
Contains public standard implementations of abstraction that
Jackson uses.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Contains implementation classes of serialization part of
data binding.
Utility classes for Mapper package.
-
Uses of PropertyMetadata in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as PropertyMetadataModifier and TypeFieldDescriptionprotected final PropertyMetadata
BeanProperty.Std._metadata
static final PropertyMetadata
PropertyMetadata.STD_OPTIONAL
static final PropertyMetadata
PropertyMetadata.STD_REQUIRED
static final PropertyMetadata
PropertyMetadata.STD_REQUIRED_OR_OPTIONAL
Methods in com.fasterxml.jackson.databind that return PropertyMetadataModifier and TypeMethodDescriptionstatic PropertyMetadata
Deprecated.static PropertyMetadata
BeanProperty.Bogus.getMetadata()
BeanProperty.getMetadata()
Accessor for additional optional information about property.BeanProperty.Std.getMetadata()
PropertyMetadata.withDefaultValue
(String def) PropertyMetadata.withDescription
(String desc) PropertyMetadata.withMergeInfo
(PropertyMetadata.MergeInfo mergeInfo) PropertyMetadata.withNulls
(com.fasterxml.jackson.annotation.Nulls valueNulls, com.fasterxml.jackson.annotation.Nulls contentNulls) PropertyMetadata.withRequired
(Boolean b) Constructors in com.fasterxml.jackson.databind with parameters of type PropertyMetadataModifierConstructorDescriptionStd
(PropertyName name, JavaType type, PropertyName wrapperName, AnnotatedMember member, PropertyMetadata metadata) Std
(PropertyName name, JavaType type, PropertyName wrapperName, Annotations contextAnnotations, AnnotatedMember member, PropertyMetadata metadata) Deprecated.Since 2.9 -
Uses of PropertyMetadata in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser that return PropertyMetadataModifier and TypeMethodDescriptionprotected PropertyMetadata
BasicDeserializerFactory._getSetterInfo
(DeserializationContext ctxt, BeanProperty prop, PropertyMetadata metadata) Helper method copied fromPOJOPropertyBuilder
since that won't be applied to creator parametersprotected PropertyMetadata
BeanDeserializerBase._getSetterInfo
(DeserializationContext ctxt, AnnotatedMember accessor, JavaType type) Method essentially copied fromBasicDeserializerFactory
, needed to findPropertyMetadata
for Delegating Creator, for access to annotation-derived info.CreatorProperty.getMetadata()
Methods in com.fasterxml.jackson.databind.deser with parameters of type PropertyMetadataModifier and TypeMethodDescriptionprotected PropertyMetadata
BasicDeserializerFactory._getSetterInfo
(DeserializationContext ctxt, BeanProperty prop, PropertyMetadata metadata) Helper method copied fromPOJOPropertyBuilder
since that won't be applied to creator parametersprotected SettableBeanProperty
BeanDeserializerBase._resolveMergeAndNullSettings
(DeserializationContext ctxt, SettableBeanProperty prop, PropertyMetadata propMetadata) static CreatorProperty
CreatorProperty.construct
(PropertyName name, JavaType type, PropertyName wrapperName, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedParameter param, int index, com.fasterxml.jackson.annotation.JacksonInject.Value injectable, PropertyMetadata metadata) Factory method for creatingCreatorProperty
instancesConstructors in com.fasterxml.jackson.databind.deser with parameters of type PropertyMetadataModifierConstructorDescriptionprotected
CreatorProperty
(PropertyName name, JavaType type, PropertyName wrapperName, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedParameter param, int index, com.fasterxml.jackson.annotation.JacksonInject.Value injectable, PropertyMetadata metadata) CreatorProperty
(PropertyName name, JavaType type, PropertyName wrapperName, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedParameter param, int index, Object injectableValueId, PropertyMetadata metadata) Deprecated.Since 2.11 use factory method insteadprotected
SettableBeanProperty
(PropertyName propName, JavaType type, PropertyMetadata metadata, JsonDeserializer<Object> valueDeser) Constructor only used byObjectIdValueProperty
.protected
SettableBeanProperty
(PropertyName propName, JavaType type, PropertyName wrapper, TypeDeserializer typeDeser, Annotations contextAnnotations, PropertyMetadata metadata) -
Uses of PropertyMetadata in com.fasterxml.jackson.databind.deser.impl
Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type PropertyMetadataModifierConstructorDescriptionObjectIdValueProperty
(ObjectIdReader objectIdReader, PropertyMetadata metadata) -
Uses of PropertyMetadata in com.fasterxml.jackson.databind.deser.std
Methods in com.fasterxml.jackson.databind.deser.std with parameters of type PropertyMetadataModifier and TypeMethodDescriptionprotected final NullValueProvider
StdDeserializer.findValueNullProvider
(DeserializationContext ctxt, SettableBeanProperty prop, PropertyMetadata propMetadata) Method called to findNullValueProvider
for a primary property, using "value nulls" setting. -
Uses of PropertyMetadata in com.fasterxml.jackson.databind.introspect
Fields in com.fasterxml.jackson.databind.introspect declared as PropertyMetadataModifier and TypeFieldDescriptionprotected final PropertyMetadata
ConcreteBeanPropertyBase._metadata
Additional information about propertyprotected PropertyMetadata
POJOPropertyBuilder._metadata
Methods in com.fasterxml.jackson.databind.introspect that return PropertyMetadataModifier and TypeMethodDescriptionprotected PropertyMetadata
POJOPropertyBuilder._getSetterInfo
(PropertyMetadata metadata, AnnotatedMember primary) Helper method that contains logic for accessing and merging all setter information that we needed, regarding things like possible merging of property value, and handling of incoming nulls.abstract PropertyMetadata
BeanPropertyDefinition.getMetadata()
Method for accessing additional metadata.ConcreteBeanPropertyBase.getMetadata()
POJOPropertyBuilder.getMetadata()
Methods in com.fasterxml.jackson.databind.introspect with parameters of type PropertyMetadataModifier and TypeMethodDescriptionprotected PropertyMetadata
POJOPropertyBuilder._getSetterInfo
(PropertyMetadata metadata, AnnotatedMember primary) Helper method that contains logic for accessing and merging all setter information that we needed, regarding things like possible merging of property value, and handling of incoming nulls.Constructors in com.fasterxml.jackson.databind.introspect with parameters of type PropertyMetadata -
Uses of PropertyMetadata in com.fasterxml.jackson.databind.ser
Constructors in com.fasterxml.jackson.databind.ser with parameters of type PropertyMetadata -
Uses of PropertyMetadata in com.fasterxml.jackson.databind.util
Fields in com.fasterxml.jackson.databind.util declared as PropertyMetadataModifier and TypeFieldDescriptionprotected final PropertyMetadata
SimpleBeanPropertyDefinition._metadata
Methods in com.fasterxml.jackson.databind.util that return PropertyMetadataModifier and TypeMethodDescriptionSimpleBeanPropertyDefinition.getMetadata()
We will indicate that property is optional, since there is nothing to indicate whether it might be required.Methods in com.fasterxml.jackson.databind.util with parameters of type PropertyMetadataModifier and TypeMethodDescriptionstatic SimpleBeanPropertyDefinition
SimpleBeanPropertyDefinition.construct
(MapperConfig<?> config, AnnotatedMember member, PropertyName name, PropertyMetadata metadata, com.fasterxml.jackson.annotation.JsonInclude.Include inclusion) Method called to create instance for virtual properties.static SimpleBeanPropertyDefinition
SimpleBeanPropertyDefinition.construct
(MapperConfig<?> config, AnnotatedMember member, PropertyName name, PropertyMetadata metadata, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion) SimpleBeanPropertyDefinition.withMetadata
(PropertyMetadata metadata) Constructors in com.fasterxml.jackson.databind.util with parameters of type PropertyMetadataModifierConstructorDescriptionprotected
SimpleBeanPropertyDefinition
(AnnotationIntrospector intr, AnnotatedMember member, PropertyName fullName, PropertyMetadata metadata, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion)