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.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.std | |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Field and Description |
---|---|
protected AnnotatedMember |
BeanProperty.Std._member
Physical entity (field, method or constructor argument) that
is used to access value of property (or in case of constructor
property, just placeholder)
|
AnnotatedMember |
PropertyMetadata.MergeInfo.getter |
Modifier and Type | Method and Description |
---|---|
abstract AnnotatedMember |
BeanDescription.findAnyGetter() |
abstract AnnotatedMember |
BeanDescription.findAnySetterAccessor()
Method used to locate a mutator (settable field, or 2-argument set method)
of introspected class that
implements
JsonAnySetter . |
AnnotatedMember |
BeanDescription.findAnySetterField()
Deprecated.
Since 2.9: use
BeanDescription.findAnySetterAccessor() instead |
abstract AnnotatedMember |
BeanDescription.findJsonValueAccessor()
Method for locating accessor (readable field, or "getter" method)
that has
JsonValue annotation,
if any. |
AnnotatedMember |
BeanProperty.getMember()
Method for accessing primary physical entity that represents the property;
annotated field, method or constructor property.
|
AnnotatedMember |
BeanProperty.Std.getMember() |
AnnotatedMember |
BeanProperty.Bogus.getMember() |
Modifier and Type | Method and Description |
---|---|
abstract Map<String,AnnotatedMember> |
BeanDescription.findBackReferenceProperties()
Deprecated.
Since 2.9 use
BeanDescription.findBackReferences() instead |
abstract Map<Object,AnnotatedMember> |
BeanDescription.findInjectables() |
Modifier and Type | Method and Description |
---|---|
static PropertyMetadata.MergeInfo |
PropertyMetadata.MergeInfo.createForDefaults(AnnotatedMember getter) |
static PropertyMetadata.MergeInfo |
PropertyMetadata.MergeInfo.createForPropertyOverride(AnnotatedMember getter) |
static PropertyMetadata.MergeInfo |
PropertyMetadata.MergeInfo.createForTypeOverride(AnnotatedMember getter) |
Object |
AnnotationIntrospector.findDeserializationContentConverter(AnnotatedMember a)
Method for finding
Converter that annotated property
has indicated needs to be used for values of container type
(this also means that method should only be called for properties
of container types, List/Map/array properties). |
String |
AnnotationIntrospector.findImplicitPropertyName(AnnotatedMember member)
Method for finding implicit name for a property that given annotated
member (field, method, creator parameter) may represent.
|
JacksonInject.Value |
AnnotationIntrospector.findInjectableValue(AnnotatedMember m)
Method called to find out whether given member expectes a value
to be injected, and if so, what is the identifier of the value
to use during injection.
|
Object |
AnnotationIntrospector.findInjectableValueId(AnnotatedMember m)
Deprecated.
|
TypeResolverBuilder<?> |
AnnotationIntrospector.findPropertyContentTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType containerType)
Method for checking if given structured property entity (field or method that
has nominal value of Map, Collection or array type) has annotations
that indicate that specific type resolver is to be used for handling type
information of contained values.
|
TypeResolverBuilder<?> |
AnnotationIntrospector.findPropertyTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType baseType)
Method for checking if given property entity (field or method) has annotations
that indicate that specific type resolver is to be used for handling instances.
|
AnnotationIntrospector.ReferenceProperty |
AnnotationIntrospector.findReferenceType(AnnotatedMember member)
Method for checking if given member indicates that it is part
of a reference (parent/child).
|
Object |
AnnotationIntrospector.findSerializationContentConverter(AnnotatedMember a)
Method for finding
Converter that annotated property
has indicated needs to be used for values of container type
(this also means that method should only be called for properties
of container types, List/Map/array properties). |
NameTransformer |
AnnotationIntrospector.findUnwrappingNameTransformer(AnnotatedMember member)
Method called to check whether given property is marked to be "unwrapped"
when being serialized (and appropriately handled in reverse direction,
i.e.
|
boolean |
AnnotationIntrospector.hasIgnoreMarker(AnnotatedMember m)
Method called to check whether given property is marked to
be ignored.
|
Boolean |
AnnotationIntrospector.hasRequiredMarker(AnnotatedMember m)
Method that can be called to check whether this member has
an annotation that suggests whether value for matching property
is required or not.
|
Boolean |
AnnotationIntrospector.isTypeId(AnnotatedMember member)
Method for checking whether given accessor claims to represent
type id: if so, its value may be used as an override,
instead of generated type id.
|
Constructor and Description |
---|
MergeInfo(AnnotatedMember getter,
boolean fromDefaults) |
Std(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
|
Modifier and Type | Field and Description |
---|---|
protected AnnotatedMember |
SettableAnyProperty._setter
Annotated variant is needed for JDK serialization only
|
Modifier and Type | Method and Description |
---|---|
abstract AnnotatedMember |
SettableBeanProperty.getMember() |
AnnotatedMember |
SettableBeanProperty.Delegating.getMember() |
AnnotatedMember |
CreatorProperty.getMember() |
Modifier and Type | Method and Description |
---|---|
void |
BeanDeserializerBuilder.addInjectable(PropertyName propName,
JavaType propType,
Annotations contextAnnotations,
AnnotatedMember member,
Object valueId) |
protected SettableAnyProperty |
BeanDeserializerFactory.constructAnySetter(DeserializationContext ctxt,
BeanDescription beanDesc,
AnnotatedMember mutator)
Method called to construct fallback
SettableAnyProperty
for handling unknown bean properties, given a method that
has been designated as such setter. |
protected EnumResolver |
BasicDeserializerFactory.constructEnumResolver(Class<?> enumClass,
DeserializationConfig config,
AnnotatedMember jsonValueAccessor) |
TypeDeserializer |
BasicDeserializerFactory.findPropertyContentTypeDeserializer(DeserializationConfig config,
JavaType containerType,
AnnotatedMember propertyEntity)
Method called to find and create a type information deserializer for values of
given container (list, array, map) property, if one is needed.
|
TypeDeserializer |
BasicDeserializerFactory.findPropertyTypeDeserializer(DeserializationConfig config,
JavaType baseType,
AnnotatedMember annotated)
Method called to create a type information deserializer for values of
given non-container property, if one is needed.
|
protected JavaType |
BasicDeserializerFactory.resolveMemberAndTypeAnnotations(DeserializationContext ctxt,
AnnotatedMember member,
JavaType type)
Helper method used to resolve additional type-related annotation information
like type overrides, or handler (serializer, deserializer) overrides,
so that from declared field, property or constructor parameter type
is used as the base and modified based on annotations, if any.
|
protected JavaType |
BasicDeserializerFactory.resolveType(DeserializationContext ctxt,
BeanDescription beanDesc,
JavaType type,
AnnotatedMember member)
|
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 |
---|---|
protected static class |
CreatorCollector.StdTypeConstructor
Replacement for default constructor to use for a small set of
"well-known" types.
|
Modifier and Type | Field and Description |
---|---|
protected AnnotatedMember |
MergingSettableBeanProperty._accessor
Member (field, method) used for accessing existing value.
|
Modifier and Type | Method and Description |
---|---|
AnnotatedMember |
SetterlessProperty.getMember() |
AnnotatedMember |
ObjectIdValueProperty.getMember() |
AnnotatedMember |
ObjectIdReferenceProperty.getMember() |
AnnotatedMember |
MethodProperty.getMember() |
AnnotatedMember |
FieldProperty.getMember() |
Modifier and Type | Method and Description |
---|---|
static MergingSettableBeanProperty |
MergingSettableBeanProperty.construct(SettableBeanProperty delegate,
AnnotatedMember accessor) |
Constructor and Description |
---|
MergingSettableBeanProperty(SettableBeanProperty delegate,
AnnotatedMember accessor) |
ValueInjector(PropertyName propName,
JavaType type,
AnnotatedMember mutator,
Object valueId) |
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 |
---|---|
protected static class |
POJOPropertyBuilder.MemberIterator<T extends AnnotatedMember> |
Modifier and Type | Class and Description |
---|---|
class |
AnnotatedConstructor |
class |
AnnotatedField
Object that represents non-static (and usually non-transient/volatile)
fields of a class.
|
class |
AnnotatedMethod |
class |
AnnotatedParameter
Object that represents method parameters, mostly so that associated
annotations can be processed conveniently.
|
class |
AnnotatedWithParams
Intermediate base class that encapsulates features that
constructors and methods share.
|
class |
VirtualAnnotatedMember
Placeholder used by virtual properties as placeholder for
underlying
AnnotatedMember . |
Modifier and Type | Field and Description |
---|---|
protected LinkedList<AnnotatedMember> |
POJOPropertiesCollector._anyGetters |
protected LinkedList<AnnotatedMember> |
POJOPropertiesCollector._anySetterField |
protected LinkedHashMap<Object,AnnotatedMember> |
POJOPropertiesCollector._injectables
Lazily collected list of members that were annotated to
indicate that they represent mutators for deserializer
value injection.
|
protected LinkedList<AnnotatedMember> |
POJOPropertiesCollector._jsonValueAccessors
Method(s) marked with 'JsonValue' annotation
|
Modifier and Type | Method and Description |
---|---|
AnnotatedMember |
BasicBeanDescription.findAnyGetter()
Method used to locate the method of introspected class that
implements
JsonAnyGetter . |
AnnotatedMember |
BasicBeanDescription.findAnySetterAccessor() |
AnnotatedMember |
BasicBeanDescription.findJsonValueAccessor() |
AnnotatedMember |
BeanPropertyDefinition.getAccessor()
Method used to find accessor (getter, field to access) to use for accessing
value of the property.
|
AnnotatedMember |
POJOPropertiesCollector.getAnyGetter() |
AnnotatedMember |
POJOPropertiesCollector.getAnySetterField() |
AnnotatedMember |
POJOPropertiesCollector.getJsonValueAccessor() |
AnnotatedMember |
BeanPropertyDefinition.getMutator()
Method used to find mutator (constructor parameter, setter, field) to use for
changing value of the property.
|
AnnotatedMember |
BeanPropertyDefinition.getNonConstructorMutator() |
AnnotatedMember |
POJOPropertyBuilder.getPrimaryMember() |
abstract AnnotatedMember |
BeanPropertyDefinition.getPrimaryMember()
Method used to find the property member (getter, setter, field) that has
the highest precedence in current context (getter method when serializing,
if available, and so forth), if any.
|
Modifier and Type | Method and Description |
---|---|
Map<String,AnnotatedMember> |
BasicBeanDescription.findBackReferenceProperties()
Deprecated.
|
Map<Object,AnnotatedMember> |
BasicBeanDescription.findInjectables() |
Map<Object,AnnotatedMember> |
POJOPropertiesCollector.getInjectables() |
Constructor and Description |
---|
AnnotatedMember(AnnotatedMember base)
Copy-constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection<NamedType> |
SubtypeResolver.collectAndResolveSubtypes(AnnotatedMember property,
MapperConfig<?> config,
AnnotationIntrospector ai,
JavaType baseType)
Deprecated.
|
Collection<NamedType> |
SubtypeResolver.collectAndResolveSubtypesByClass(MapperConfig<?> config,
AnnotatedMember property,
JavaType baseType)
Method for finding out all reachable subtypes for a property specified
by given element (method or field),
such that access is by type,
typically needed for serialization (converting from type to type name).
|
Collection<NamedType> |
SubtypeResolver.collectAndResolveSubtypesByTypeId(MapperConfig<?> config,
AnnotatedMember property,
JavaType baseType)
Method for finding out all reachable subtypes for a property specified
by given element (method or field),
such that access is by type id,
typically needed for deserialization (converting from type id to type).
|
Modifier and Type | Method and Description |
---|---|
Collection<NamedType> |
StdSubtypeResolver.collectAndResolveSubtypesByClass(MapperConfig<?> config,
AnnotatedMember property,
JavaType baseType) |
Collection<NamedType> |
StdSubtypeResolver.collectAndResolveSubtypesByTypeId(MapperConfig<?> config,
AnnotatedMember property,
JavaType baseType) |
Modifier and Type | Field and Description |
---|---|
protected AnnotatedMember |
AnyGetterWriter._accessor
Method (or field) that represents the "any getter"
|
protected AnnotatedMember |
BeanPropertyWriter._member
Member (field, method) that represents property and allows access to
associated annotations.
|
protected AnnotatedMember |
BeanSerializerBuilder._typeId
Property that is used for type id (and not serialized as regular
property)
|
Modifier and Type | Method and Description |
---|---|
AnnotatedMember |
BeanPropertyWriter.getMember() |
AnnotatedMember |
BeanSerializerBuilder.getTypeId() |
Modifier and Type | Method and Description |
---|---|
protected BeanPropertyWriter |
BeanSerializerFactory._constructWriter(SerializerProvider prov,
BeanPropertyDefinition propDef,
PropertyBuilder pb,
boolean staticTyping,
AnnotatedMember accessor)
Secondary helper method for constructing
BeanPropertyWriter for
given member (field or method). |
protected BeanPropertyWriter |
PropertyBuilder.buildWriter(SerializerProvider prov,
BeanPropertyDefinition propDef,
JavaType declaredType,
JsonSerializer<?> ser,
TypeSerializer typeSer,
TypeSerializer contentTypeSer,
AnnotatedMember am,
boolean defaultUseStaticTyping) |
TypeSerializer |
BeanSerializerFactory.findPropertyContentTypeSerializer(JavaType containerType,
SerializationConfig config,
AnnotatedMember accessor)
Method called to create a type information serializer for values of given
container property
if one is needed.
|
TypeSerializer |
BeanSerializerFactory.findPropertyTypeSerializer(JavaType baseType,
SerializationConfig config,
AnnotatedMember accessor)
Method called to create a type information serializer for values of given
non-container property
if one is needed.
|
protected Object |
PropertyBuilder.getPropertyDefaultValue(String name,
AnnotatedMember member,
JavaType type)
Deprecated.
Since 2.9 since this will not allow determining difference between "no default instance"
case and default being `null`.
|
void |
BeanSerializerBuilder.setTypeId(AnnotatedMember idProp) |
Constructor and Description |
---|
AnyGetterWriter(BeanProperty property,
AnnotatedMember accessor,
JsonSerializer<?> serializer) |
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) |
Modifier and Type | Field and Description |
---|---|
protected AnnotatedMember |
JsonValueSerializer._accessor |
protected AnnotatedMember |
BeanSerializerBase._typeId
If using custom type ids (usually via getter, or field), this is the
reference to that member.
|
Modifier and Type | Method and Description |
---|---|
AnnotatedMember |
MapProperty.getMember() |
Constructor and Description |
---|
JsonValueSerializer(AnnotatedMember accessor,
JsonSerializer<?> ser) |
Modifier and Type | Field and Description |
---|---|
protected AnnotatedMember |
SimpleBeanPropertyDefinition._member
Member that defines logical property.
|
Modifier and Type | Method and Description |
---|---|
AnnotatedMember |
SimpleBeanPropertyDefinition.getPrimaryMember() |
Modifier and Type | Method and Description |
---|---|
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member) |
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
PropertyName name) |
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
PropertyName name,
PropertyMetadata metadata,
JsonInclude.Include inclusion)
Method called to create instance for virtual properties.
|
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
PropertyName name,
PropertyMetadata metadata,
JsonInclude.Value inclusion) |
static EnumResolver |
EnumResolver.constructUnsafeUsingMethod(Class<?> rawEnumCls,
AnnotatedMember accessor,
AnnotationIntrospector ai)
Method used when actual String serialization is indicated using @JsonValue
on a method.
|
static EnumResolver |
EnumResolver.constructUsingMethod(Class<Enum<?>> enumCls,
AnnotatedMember accessor,
AnnotationIntrospector ai) |
Constructor and Description |
---|
SimpleBeanPropertyDefinition(AnnotationIntrospector intr,
AnnotatedMember member,
PropertyName fullName,
PropertyMetadata metadata,
JsonInclude.Value inclusion) |
Copyright © 2008–2018 FasterXML. All rights reserved.