Uses of Interface
com.fasterxml.jackson.databind.util.Annotations
Packages that use Annotations
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.
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.
Contains implementation classes of serialization part of
data binding.
-
Uses of Annotations in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return AnnotationsModifier and TypeMethodDescriptionabstract Annotations
BeanDescription.getClassAnnotations()
Method for accessing collection of annotations the bean class has.Constructors in com.fasterxml.jackson.databind with parameters of type AnnotationsModifierConstructorDescriptionStd
(PropertyName name, JavaType type, PropertyName wrapperName, Annotations contextAnnotations, AnnotatedMember member, PropertyMetadata metadata) Deprecated.Since 2.9 -
Uses of Annotations in com.fasterxml.jackson.databind.deser
Fields in com.fasterxml.jackson.databind.deser declared as AnnotationsModifier and TypeFieldDescriptionprotected final Annotations
SettableBeanProperty._contextAnnotations
Class that contains this property (either class that declares the property or one of its subclasses), class that is deserialized using deserializer that contains this property.Methods in com.fasterxml.jackson.databind.deser with parameters of type AnnotationsModifier and TypeMethodDescriptionvoid
BeanDeserializerBuilder.addInjectable
(PropertyName propName, JavaType propType, Annotations contextAnnotations, AnnotatedMember member, Object valueId) 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 AnnotationsModifierConstructorDescriptionprotected
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
(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations) protected
SettableBeanProperty
(PropertyName propName, JavaType type, PropertyName wrapper, TypeDeserializer typeDeser, Annotations contextAnnotations, PropertyMetadata metadata) -
Uses of Annotations in com.fasterxml.jackson.databind.deser.impl
Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type AnnotationsModifierConstructorDescriptionFieldProperty
(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field) MethodProperty
(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method) SetterlessProperty
(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method) ValueInjector
(PropertyName propName, JavaType type, Annotations contextAnnotations, AnnotatedMember mutator, Object valueId) Deprecated.in 2.9 (remove from 3.0) -
Uses of Annotations in com.fasterxml.jackson.databind.introspect
Classes in com.fasterxml.jackson.databind.introspect that implement AnnotationsModifier and TypeClassDescriptionstatic class
Immutable implementation for case where no annotations are associated with an annotatable entity.static class
static class
final class
Simple helper class used to keep track of collection of Jackson Annotations associated with annotatable things (methods, constructors, classes).Fields in com.fasterxml.jackson.databind.introspect declared as AnnotationsModifier and TypeFieldDescriptionprotected final Annotations
AnnotatedClass._classAnnotations
Combined list of Jackson annotations that the class has, including inheritable ones from super classes and interfacesprotected static final Annotations
AnnotationCollector.NO_ANNOTATIONS
Methods in com.fasterxml.jackson.databind.introspect that return AnnotationsModifier and TypeMethodDescriptionabstract Annotations
AnnotationCollector.asAnnotations()
static Annotations
AnnotationCollector.emptyAnnotations()
AnnotatedClass.getAnnotations()
BasicBeanDescription.getClassAnnotations()
-
Uses of Annotations in com.fasterxml.jackson.databind.ser
Fields in com.fasterxml.jackson.databind.ser declared as AnnotationsModifier and TypeFieldDescriptionprotected final Annotations
BeanPropertyWriter._contextAnnotations
Annotations from context (most often, class that declares property, or in case of sub-class serializer, from that sub-class)Methods in com.fasterxml.jackson.databind.ser that return AnnotationsMethods in com.fasterxml.jackson.databind.ser with parameters of type AnnotationsModifier and TypeMethodDescriptionprotected BeanPropertyWriter
PropertyBuilder._constructPropertyWriter
(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue, Class<?>[] includeInViews) Overridable factory method for actual construction ofBeanPropertyWriter
; often needed if subclassingPropertyBuilder.buildWriter(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer<?>, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.introspect.AnnotatedMember, boolean)
method.Constructors in com.fasterxml.jackson.databind.ser with parameters of type AnnotationsModifierConstructorDescriptionBeanPropertyWriter
(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue) Deprecated.BeanPropertyWriter
(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue, Class<?>[] includeInViews) protected
VirtualBeanPropertyWriter
(BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType) Constructor used by most sub-types.protected
VirtualBeanPropertyWriter
(BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion) Deprecated.protected
VirtualBeanPropertyWriter
(BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion, Class<?>[] includeInViews) Pass-through constructor that may be used by sub-classes that want full control over implementation. -
Uses of Annotations in com.fasterxml.jackson.databind.ser.impl
Methods in com.fasterxml.jackson.databind.ser.impl with parameters of type AnnotationsModifier and TypeMethodDescriptionstatic AttributePropertyWriter
AttributePropertyWriter.construct
(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType) Constructors in com.fasterxml.jackson.databind.ser.impl with parameters of type AnnotationsModifierConstructorDescriptionprotected
AttributePropertyWriter
(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType) protected
AttributePropertyWriter
(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion)