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.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
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.ext |
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
|
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) |
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.
|
Modifier and Type | Method and Description |
---|---|
SerializationConfig |
SerializationConfig.withRootName(PropertyName rootName) |
ObjectWriter |
ObjectWriter.withRootName(PropertyName rootName) |
ObjectReader |
ObjectReader.withRootName(PropertyName rootName) |
DeserializationConfig |
DeserializationConfig.withRootName(PropertyName rootName) |
Constructor and Description |
---|
BeanProperty.Std(PropertyName name,
JavaType type,
PropertyName wrapperName,
Annotations contextAnnotations,
AnnotatedMember member,
PropertyMetadata metadata) |
Modifier and Type | Field and Description |
---|---|
protected PropertyName |
MapperConfigBase._rootName
Explicitly defined root name to use, if any; if empty
String, will disable root-name wrapping; if null, will
use defaults
|
Modifier and Type | Method and Description |
---|---|
PropertyName |
MapperConfigBase.findRootName(Class<?> rawRootType) |
abstract PropertyName |
MapperConfig.findRootName(Class<?> rawRootType) |
PropertyName |
MapperConfigBase.findRootName(JavaType rootType) |
abstract PropertyName |
MapperConfig.findRootName(JavaType rootType) |
PropertyName |
MapperConfigBase.getFullRootName() |
Modifier and Type | Method and Description |
---|---|
abstract T |
MapperConfigBase.withRootName(PropertyName rootName)
Method for constructing and returning a new instance with different
root name to use (none, if null).
|
Constructor and Description |
---|
MapperConfigBase(MapperConfigBase<CFG,T> src,
PropertyName rootName) |
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)
Deprecated.
|
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 SettableBeanProperty |
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) |
Modifier and Type | Field and Description |
---|---|
PropertyName |
ObjectIdReader.propertyName |
Modifier and Type | Method and Description |
---|---|
static ObjectIdReader |
ObjectIdReader.construct(JavaType idType,
PropertyName propName,
ObjectIdGenerator<?> generator,
JsonDeserializer<?> deser,
SettableBeanProperty idProp)
Deprecated.
|
static ObjectIdReader |
ObjectIdReader.construct(JavaType idType,
PropertyName propName,
ObjectIdGenerator<?> generator,
JsonDeserializer<?> deser,
SettableBeanProperty idProp,
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 | Method and Description |
---|---|
PropertyName |
Java7SupportImpl.findConstructorName(AnnotatedParameter p) |
abstract PropertyName |
Java7Support.findConstructorName(AnnotatedParameter p) |
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 |
PropertyName |
POJOPropertyBuilder.Linked.name |
Modifier and Type | Method and Description |
---|---|
protected PropertyName |
JacksonAnnotationIntrospector._findConstructorName(Annotated a) |
protected PropertyName |
BasicBeanDescription._findCreatorPropertyName(AnnotatedParameter param)
Deprecated.
since 2.8
|
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 |
---|---|
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(Map<String,POJOPropertyBuilder> props,
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) |
BeanPropertyDefinition |
BasicBeanDescription.findProperty(PropertyName name) |
boolean |
POJOPropertyBuilder.hasName(PropertyName name) |
boolean |
BeanPropertyDefinition.hasName(PropertyName name) |
boolean |
BasicBeanDescription.hasProperty(PropertyName name) |
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. |
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() |
Modifier and Type | Method and Description |
---|---|
protected BeanPropertyWriter |
BeanPropertyWriter._new(PropertyName newName)
Overridable factory method used by sub-classes
|
boolean |
BeanPropertyWriter.wouldConflictWithName(PropertyName name)
Method called to check to see if this property has a name that would
conflict with a given name.
|
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,
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() |
PropertyName |
MapProperty.getWrapperName() |
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,
JsonInclude.Include inclusion) |
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
PropertyName name,
PropertyMetadata metadata,
JsonInclude.Value inclusion) |
boolean |
SimpleBeanPropertyDefinition.hasName(PropertyName name) |
BeanPropertyDefinition |
SimpleBeanPropertyDefinition.withName(PropertyName newName) |
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) |
Copyright © 2008–2016 FasterXML. All rights reserved.