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)
|
Modifier and Type | Method and Description |
---|---|
abstract AnnotatedMember |
BeanDescription.findAnyGetter() |
abstract AnnotatedMember |
BeanDescription.findAnySetterField()
Method used to locate the field of the class that implements
JsonAnySetter If no such method
exists null is returned. |
AnnotatedMember |
BeanProperty.getMember()
Method for accessing primary physical entity that represents the property;
annotated field, method or constructor property.
|
AnnotatedMember |
BeanProperty.Std.getMember() |
Modifier and Type | Method and Description |
---|---|
abstract Map<String,AnnotatedMember> |
BeanDescription.findBackReferenceProperties()
Method for locating all back-reference properties (setters, fields) bean has
|
abstract Map<Object,AnnotatedMember> |
BeanDescription.findInjectables() |
Modifier and Type | Method and Description |
---|---|
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.
|
Object |
AnnotationIntrospector.findInjectableValueId(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.
|
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 |
---|
BeanProperty.Std(PropertyName name,
JavaType type,
PropertyName wrapperName,
Annotations contextAnnotations,
AnnotatedMember member,
PropertyMetadata metadata) |
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 |
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. |
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) |
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 | Method and Description |
---|---|
AnnotatedMember |
SetterlessProperty.getMember() |
AnnotatedMember |
ObjectIdValueProperty.getMember() |
AnnotatedMember |
ObjectIdReferenceProperty.getMember() |
AnnotatedMember |
MethodProperty.getMember() |
AnnotatedMember |
ManagedReferenceProperty.getMember() |
AnnotatedMember |
InnerClassProperty.getMember() |
AnnotatedMember |
FieldProperty.getMember() |
Constructor and Description |
---|
ValueInjector(PropertyName propName,
JavaType type,
Annotations contextAnnotations,
AnnotatedMember mutator,
Object valueId) |
ValueInjector(String propName,
JavaType type,
Annotations contextAnnotations,
AnnotatedMember mutator,
Object valueId)
Deprecated.
|
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.
|
Modifier and Type | Method and Description |
---|---|
AnnotatedMember |
BasicBeanDescription.findAnyGetter()
Method used to locate the method of introspected class that
implements
JsonAnyGetter . |
AnnotatedMember |
BasicBeanDescription.findAnySetterField() |
AnnotatedMember |
POJOPropertyBuilder.getAccessor() |
abstract 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 |
POJOPropertyBuilder.getMutator() |
abstract AnnotatedMember |
BeanPropertyDefinition.getMutator()
Method used to find mutator (constructor parameter, setter, field) to use for
changing value of the property.
|
AnnotatedMember |
POJOPropertyBuilder.getNonConstructorMutator() |
abstract 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() |
Map<Object,AnnotatedMember> |
BasicBeanDescription.findInjectables() |
Map<Object,AnnotatedMember> |
POJOPropertiesCollector.getInjectables() |
Constructor and Description |
---|
AnnotatedMember(AnnotatedMember base)
Copy-constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract 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.collectAndResolveSubtypes(AnnotatedMember property,
MapperConfig<?> config,
AnnotationIntrospector ai,
JavaType baseType)
Deprecated.
|
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)
Accessor used to find out "default value" for given property, to use for
comparing values to serialize, to determine whether to exclude value from serialization with
inclusion type of
JsonInclude.Include.NON_EMPTY . |
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) |
Modifier and Type | Field and Description |
---|---|
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() |
Modifier and Type | Field and Description |
---|---|
protected AnnotatedMember |
SimpleBeanPropertyDefinition._member
Member that defines logical property.
|
Modifier and Type | Method and Description |
---|---|
AnnotatedMember |
SimpleBeanPropertyDefinition.getAccessor()
Method used to find accessor (getter, field to access) to use for accessing
value of the property.
|
AnnotatedMember |
SimpleBeanPropertyDefinition.getMutator()
Method used to find mutator (constructor parameter, setter, field) to use for
changing value of the property.
|
AnnotatedMember |
SimpleBeanPropertyDefinition.getNonConstructorMutator() |
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) |
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
PropertyName name,
PropertyMetadata metadata,
JsonInclude.Value inclusion) |
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
String name)
Deprecated.
Since 2.5
|
Constructor and Description |
---|
SimpleBeanPropertyDefinition(AnnotatedMember member,
PropertyName fullName,
AnnotationIntrospector intr,
PropertyMetadata metadata,
JsonInclude.Include inclusion) |
SimpleBeanPropertyDefinition(AnnotatedMember member,
PropertyName fullName,
AnnotationIntrospector intr,
PropertyMetadata metadata,
JsonInclude.Value inclusion) |
SimpleBeanPropertyDefinition(AnnotatedMember member,
String name,
AnnotationIntrospector intr)
Deprecated.
Since 2.5 Use variant that takes PropertyName
|
Copyright © 2008–2016 FasterXML. All rights reserved.