Package | Description |
---|---|
com.fasterxml.jackson.databind |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
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.
|
com.fasterxml.jackson.databind.ser.std | |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Field and Description |
---|---|
protected PropertyName |
BeanProperty.Std._name |
protected PropertyName |
BeanProperty.Std._wrapperName |
static PropertyName |
PropertyName.NO_NAME
Special placeholder value that indicates that there is no name associated.
|
static PropertyName |
PropertyName.USE_DEFAULT
Special placeholder value that indicates that name to use should be
based on the standard heuristics.
|
Modifier and Type | Method and Description |
---|---|
static PropertyName |
PropertyName.construct(String simpleName,
String ns) |
PropertyName |
AnnotationIntrospector.findNameForDeserialization(Annotated a)
Method for checking whether given property accessors (method,
field) has an annotation that suggests property name to use
for deserialization (reading JSON into POJOs).
|
PropertyName |
AnnotationIntrospector.findNameForSerialization(Annotated a)
Method for checking whether given property accessors (method,
field) has an annotation that suggests property name to use
for serialization.
|
PropertyName |
AnnotationIntrospector.findRootName(AnnotatedClass ac)
Method for locating name used as "root name" (for use by
some serializers when outputting root-level object -- mostly
for XML compatibility purposes) for given class, if one
is defined.
|
PropertyName |
AnnotationIntrospector.findWrapperName(Annotated ann)
Method used to check if specified property has annotation that indicates
that it should be wrapped in an element; and if so, name to use.
|
PropertyName |
BeanProperty.getFullName()
Method for getting full name definition, including possible
format-specific additional properties (such as namespace when
using XML backend).
|
PropertyName |
BeanProperty.Std.getFullName() |
PropertyName |
BeanProperty.getWrapperName()
If property is indicated to be wrapped, name of
wrapper element to use.
|
PropertyName |
BeanProperty.Std.getWrapperName() |
PropertyName |
PropertyName.internSimpleName() |
PropertyName |
PropertyName.withNamespace(String ns)
Fluent factory method for constructing an instance with different
namespace.
|
PropertyName |
PropertyName.withSimpleName(String simpleName)
Fluent factory method for constructing an instance with different
simple name.
|
Constructor and Description |
---|
BeanProperty.Std(PropertyName name,
JavaType type,
PropertyName wrapperName,
Annotations contextAnnotations,
AnnotatedMember member,
PropertyMetadata metadata) |
BeanProperty.Std(String name,
JavaType type,
PropertyName wrapperName,
Annotations contextAnnotations,
AnnotatedMember member,
boolean isRequired)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected PropertyName |
SettableBeanProperty._propName
Logical name of the property (often but not always derived
from the setter method name)
|
protected PropertyName |
SettableBeanProperty._wrapperName |
protected static PropertyName |
BeanDeserializerBase.TEMP_PROPERTY_NAME |
protected static PropertyName |
BasicDeserializerFactory.UNWRAPPED_CREATOR_PARAM_NAME
We need a placeholder for creator properties that don't have name
but are marked with `@JsonWrapped` annotation.
|
Modifier and Type | Method and Description |
---|---|
protected PropertyName |
BasicDeserializerFactory._findExplicitParamName(AnnotatedParameter param,
AnnotationIntrospector intr) |
protected PropertyName |
BasicDeserializerFactory._findImplicitParamName(AnnotatedParameter param,
AnnotationIntrospector intr) |
protected PropertyName |
BasicDeserializerFactory._findParamName(AnnotatedParameter param,
AnnotationIntrospector intr) |
PropertyName |
SettableBeanProperty.getFullName() |
PropertyName |
SettableBeanProperty.getWrapperName() |
Modifier and Type | Method and Description |
---|---|
void |
BeanDeserializerBuilder.addInjectable(PropertyName propName,
JavaType propType,
Annotations contextAnnotations,
AnnotatedMember member,
Object valueId) |
protected CreatorProperty |
BasicDeserializerFactory.constructCreatorProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
PropertyName name,
int index,
AnnotatedParameter param,
Object injectableValueId)
Method that will construct a property object that represents
a logical property passed via Creator (constructor or static
factory method)
|
SettableBeanProperty |
BeanDeserializerBuilder.findProperty(PropertyName propertyName) |
SettableBeanProperty |
BeanDeserializerBase.findProperty(PropertyName propertyName) |
boolean |
BeanDeserializerBuilder.hasProperty(PropertyName propertyName) |
SettableBeanProperty |
BeanDeserializerBuilder.removeProperty(PropertyName name) |
abstract SettableBeanProperty |
SettableBeanProperty.withName(PropertyName newName)
Fluent factory method for constructing and returning a new instance
with specified property name.
|
CreatorProperty |
CreatorProperty.withName(PropertyName newName) |
Constructor and Description |
---|
CreatorProperty(CreatorProperty src,
PropertyName newName) |
CreatorProperty(PropertyName name,
JavaType type,
PropertyName wrapperName,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
AnnotatedParameter param,
int index,
Object injectableValueId,
PropertyMetadata metadata) |
CreatorProperty(String name,
JavaType type,
PropertyName wrapperName,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
AnnotatedParameter param,
int index,
Object injectableValueId,
boolean isRequired)
Deprecated.
|
SettableBeanProperty(PropertyName propName,
JavaType type,
PropertyMetadata metadata,
JsonDeserializer<Object> valueDeser)
Constructor only used by
ObjectIdValueProperty . |
SettableBeanProperty(PropertyName propName,
JavaType type,
PropertyName wrapper,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
PropertyMetadata metadata) |
SettableBeanProperty(SettableBeanProperty src,
PropertyName newName)
Copy-with-deserializer-change constructor for sub-classes to use.
|
SettableBeanProperty(String propName,
JavaType type,
PropertyName wrapper,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
boolean isRequired)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
PropertyName |
ObjectIdReader.propertyName |
Modifier and Type | Method and Description |
---|---|
static ObjectIdReader |
ObjectIdReader.construct(JavaType idType,
PropertyName propName,
com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generator,
JsonDeserializer<?> deser,
SettableBeanProperty idProp)
Deprecated.
|
static ObjectIdReader |
ObjectIdReader.construct(JavaType idType,
PropertyName propName,
com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generator,
JsonDeserializer<?> deser,
SettableBeanProperty idProp,
com.fasterxml.jackson.annotation.ObjectIdResolver resolver)
Factory method called by
BeanSerializerBase
with the initial information based on standard settings for the type
for which serializer is being built. |
SetterlessProperty |
SetterlessProperty.withName(PropertyName newName) |
ObjectIdValueProperty |
ObjectIdValueProperty.withName(PropertyName newName) |
SettableBeanProperty |
ObjectIdReferenceProperty.withName(PropertyName newName) |
MethodProperty |
MethodProperty.withName(PropertyName newName) |
ManagedReferenceProperty |
ManagedReferenceProperty.withName(PropertyName newName) |
InnerClassProperty |
InnerClassProperty.withName(PropertyName newName) |
FieldProperty |
FieldProperty.withName(PropertyName newName) |
Modifier and Type | Field and Description |
---|---|
protected PropertyName |
POJOPropertyBuilder._internalName
Original internal name, derived from accessor, of this
property.
|
protected PropertyName |
POJOPropertyBuilder._name
External name of logical property; may change with
renaming (by new instance being constructed using
a new name)
|
protected PropertyName |
ObjectIdInfo._propertyName |
Modifier and Type | Method and Description |
---|---|
protected PropertyName |
BasicBeanDescription._findCreatorPropertyName(AnnotatedParameter param) |
protected PropertyName |
JacksonAnnotationIntrospector._propertyName(String localName,
String namespace) |
PropertyName |
JacksonAnnotationIntrospector.findNameForDeserialization(Annotated a) |
PropertyName |
AnnotationIntrospectorPair.findNameForDeserialization(Annotated a) |
PropertyName |
JacksonAnnotationIntrospector.findNameForSerialization(Annotated a) |
PropertyName |
AnnotationIntrospectorPair.findNameForSerialization(Annotated a) |
PropertyName |
JacksonAnnotationIntrospector.findRootName(AnnotatedClass ac) |
PropertyName |
AnnotationIntrospectorPair.findRootName(AnnotatedClass ac) |
PropertyName |
AnnotationIntrospectorPair.findWrapperName(Annotated ann) |
PropertyName |
POJOPropertyBuilder.getFullName() |
abstract PropertyName |
BeanPropertyDefinition.getFullName() |
PropertyName |
ObjectIdInfo.getPropertyName() |
PropertyName |
POJOPropertyBuilder.getWrapperName() |
abstract PropertyName |
BeanPropertyDefinition.getWrapperName()
Accessor for finding wrapper name to use for property (if any).
|
Modifier and Type | Method and Description |
---|---|
List<PropertyName> |
BasicBeanDescription.findCreatorParameterNames()
Deprecated.
Since 2.5, does not seem to be used at all.
|
Set<PropertyName> |
POJOPropertyBuilder.findExplicitNames()
Method called to find out set of explicit names for accessors
bound together due to implicit name.
|
Modifier and Type | Method and Description |
---|---|
protected POJOPropertyBuilder |
POJOPropertiesCollector._property(PropertyName name) |
void |
POJOPropertyBuilder.addCtor(AnnotatedParameter a,
PropertyName name,
boolean explName,
boolean visible,
boolean ignored) |
void |
POJOPropertyBuilder.addField(AnnotatedField a,
PropertyName name,
boolean explName,
boolean visible,
boolean ignored) |
void |
POJOPropertyBuilder.addGetter(AnnotatedMethod a,
PropertyName name,
boolean explName,
boolean visible,
boolean ignored) |
void |
POJOPropertyBuilder.addSetter(AnnotatedMethod a,
PropertyName name,
boolean explName,
boolean visible,
boolean ignored) |
POJOPropertyBuilder |
POJOPropertyBuilder.withName(PropertyName newName) |
abstract BeanPropertyDefinition |
BeanPropertyDefinition.withName(PropertyName newName)
Method that can be used to create a definition with
same settings as this one, but with different
(external) name; that is, one for which
BeanPropertyDefinition.getName() would return newName . |
Modifier and Type | Method and Description |
---|---|
Collection<POJOPropertyBuilder> |
POJOPropertyBuilder.explode(Collection<PropertyName> newNames)
Method called when a previous call to
POJOPropertyBuilder.findExplicitNames() found
multiple distinct explicit names, and the property this builder represents
basically needs to be broken apart and replaced by a set of more than
one properties. |
Constructor and Description |
---|
ObjectIdInfo(PropertyName name,
Class<?> scope,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen)
Deprecated.
|
ObjectIdInfo(PropertyName prop,
Class<?> scope,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen,
boolean alwaysAsId) |
ObjectIdInfo(PropertyName prop,
Class<?> scope,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen,
boolean alwaysAsId,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> resolver) |
ObjectIdInfo(PropertyName name,
Class<?> scope,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> resolver) |
POJOPropertyBuilder(POJOPropertyBuilder src,
PropertyName newName) |
POJOPropertyBuilder(PropertyName internalName,
AnnotationIntrospector ai,
boolean forSerialization) |
POJOPropertyBuilder(PropertyName internalName,
PropertyName name,
AnnotationIntrospector annotationIntrospector,
boolean forSerialization) |
Modifier and Type | Field and Description |
---|---|
protected PropertyName |
BeanPropertyWriter._wrapperName
Wrapper name to use for this element, if any
|
Modifier and Type | Method and Description |
---|---|
abstract PropertyName |
PropertyWriter.getFullName() |
PropertyName |
BeanPropertyWriter.getFullName() |
PropertyName |
BeanPropertyWriter.getWrapperName() |
Constructor and Description |
---|
BeanPropertyWriter(BeanPropertyWriter base,
PropertyName name) |
VirtualBeanPropertyWriter(VirtualBeanPropertyWriter base,
PropertyName name) |
Modifier and Type | Method and Description |
---|---|
static ObjectIdWriter |
ObjectIdWriter.construct(JavaType idType,
PropertyName propName,
com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generator,
boolean alwaysAsId)
Factory method called by
BeanSerializerBase
with the initial information based on standard settings for the type
for which serializer is being built. |
Modifier and Type | Field and Description |
---|---|
protected static PropertyName |
BeanSerializerBase.NAME_FOR_OBJECT_REF |
Modifier and Type | Method and Description |
---|---|
PropertyName |
MapProperty.getFullName() |
Modifier and Type | Field and Description |
---|---|
protected PropertyName |
SimpleBeanPropertyDefinition._fullName |
Modifier and Type | Field and Description |
---|---|
protected LRUMap<ClassKey,PropertyName> |
RootNameLookup._rootNames
For efficient operation, let's try to minimize number of times we
need to introspect root element name to use.
|
Modifier and Type | Method and Description |
---|---|
PropertyName |
RootNameLookup.findRootName(Class<?> rootType,
MapperConfig<?> config) |
PropertyName |
RootNameLookup.findRootName(JavaType rootType,
MapperConfig<?> config) |
PropertyName |
SimpleBeanPropertyDefinition.getFullName() |
PropertyName |
SimpleBeanPropertyDefinition.getWrapperName() |
Modifier and Type | Method and Description |
---|---|
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
PropertyName name) |
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
PropertyName name,
PropertyMetadata metadata,
com.fasterxml.jackson.annotation.JsonInclude.Include inclusion) |
BeanPropertyDefinition |
SimpleBeanPropertyDefinition.withName(PropertyName newName) |
Constructor and Description |
---|
SimpleBeanPropertyDefinition(AnnotatedMember member,
PropertyName fullName,
AnnotationIntrospector intr,
PropertyMetadata metadata,
com.fasterxml.jackson.annotation.JsonInclude.Include inclusion) |
Copyright © 2014-2015 FasterXML. All Rights Reserved.