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.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.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.
|
Modifier and Type | Method and Description |
---|---|
abstract Annotations |
BeanDescription.getClassAnnotations()
Method for accessing collection of annotations the bean
class has.
|
Constructor and Description |
---|
Std(PropertyName name,
JavaType type,
PropertyName wrapperName,
Annotations contextAnnotations,
AnnotatedMember member,
PropertyMetadata metadata)
Deprecated.
Since 2.9
|
Modifier and Type | Field and Description |
---|---|
protected 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.
|
Modifier and Type | Method and Description |
---|---|
void |
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,
JacksonInject.Value injectable,
PropertyMetadata metadata)
Factory method for creating
CreatorProperty instances |
Constructor and Description |
---|
CreatorProperty(PropertyName name,
JavaType type,
PropertyName wrapperName,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
AnnotatedParameter param,
int index,
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 instead
|
SettableBeanProperty(BeanPropertyDefinition propDef,
JavaType type,
TypeDeserializer typeDeser,
Annotations contextAnnotations) |
SettableBeanProperty(PropertyName propName,
JavaType type,
PropertyName wrapper,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
PropertyMetadata metadata) |
Constructor and Description |
---|
FieldProperty(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)
|
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationCollector.NoAnnotations
Immutable implementation for case where no annotations are associated with
an annotatable entity.
|
static class |
AnnotationCollector.OneAnnotation |
static class |
AnnotationCollector.TwoAnnotations |
class |
AnnotationMap
Simple helper class used to keep track of collection of
Jackson Annotations associated with annotatable things
(methods, constructors, classes).
|
Modifier and Type | Field and Description |
---|---|
protected Annotations |
AnnotatedClass._classAnnotations
Combined list of Jackson annotations that the class has,
including inheritable ones from super classes and interfaces
|
protected static Annotations |
AnnotationCollector.NO_ANNOTATIONS |
Modifier and Type | Method and Description |
---|---|
abstract Annotations |
AnnotationCollector.asAnnotations() |
static Annotations |
AnnotationCollector.emptyAnnotations() |
Annotations |
AnnotatedClass.getAnnotations() |
Annotations |
BasicBeanDescription.getClassAnnotations() |
Modifier and Type | Field and Description |
---|---|
protected Annotations |
BeanPropertyWriter._contextAnnotations
Annotations from context (most often, class that declares property, or in
case of sub-class serializer, from that sub-class)
|
Modifier and Type | Method and Description |
---|---|
Annotations |
PropertyBuilder.getClassAnnotations() |
Modifier and Type | Method and Description |
---|---|
protected 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 of
BeanPropertyWriter ;
often needed if subclassing PropertyBuilder.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. |
Constructor and Description |
---|
BeanPropertyWriter(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) |
VirtualBeanPropertyWriter(BeanPropertyDefinition propDef,
Annotations contextAnnotations,
JavaType declaredType)
Constructor used by most sub-types.
|
VirtualBeanPropertyWriter(BeanPropertyDefinition propDef,
Annotations contextAnnotations,
JavaType declaredType,
JsonSerializer<?> ser,
TypeSerializer typeSer,
JavaType serType,
JsonInclude.Value inclusion)
Deprecated.
|
VirtualBeanPropertyWriter(BeanPropertyDefinition propDef,
Annotations contextAnnotations,
JavaType declaredType,
JsonSerializer<?> ser,
TypeSerializer typeSer,
JavaType serType,
JsonInclude.Value inclusion,
Class<?>[] includeInViews)
Pass-through constructor that may be used by sub-classes that
want full control over implementation.
|
Modifier and Type | Method and Description |
---|---|
static AttributePropertyWriter |
AttributePropertyWriter.construct(String attrName,
BeanPropertyDefinition propDef,
Annotations contextAnnotations,
JavaType declaredType) |
Constructor and Description |
---|
AttributePropertyWriter(String attrName,
BeanPropertyDefinition propDef,
Annotations contextAnnotations,
JavaType declaredType) |
AttributePropertyWriter(String attrName,
BeanPropertyDefinition propDef,
Annotations contextAnnotations,
JavaType declaredType,
JsonInclude.Value inclusion) |
Copyright © 2008–2021 FasterXML. All rights reserved.