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.util |
Utility classes for Mapper package.
|
Modifier and Type | Method and Description |
---|---|
abstract List<BeanPropertyDefinition> |
BeanDescription.findProperties() |
Modifier and Type | Method and Description |
---|---|
protected List<BeanPropertyDefinition> |
BeanDeserializerFactory.filterBeanProps(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder,
List<BeanPropertyDefinition> propDefsIn,
Set<String> ignored)
Helper method called to filter out explicit ignored properties,
as well as properties that have "ignorable types".
|
List<BeanPropertyDefinition> |
BeanDeserializerModifier.updateProperties(DeserializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyDefinition> propDefs)
Method called by
BeanDeserializerFactory when it has collected
initial list of BeanPropertyDefinition s, and done basic by-name
and by-type filtering, but before constructing builder or actual
property handlers; or arranging order. |
Modifier and Type | Method and Description |
---|---|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSettableProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanPropertyDefinition propDef,
Type jdkType)
Method that will construct a regular bean property setter using
the given setter method.
|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSetterlessProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanPropertyDefinition propDef)
Method that will construct a regular bean property setter using
the given setter method.
|
Modifier and Type | Method and Description |
---|---|
protected List<BeanPropertyDefinition> |
BeanDeserializerFactory.filterBeanProps(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder,
List<BeanPropertyDefinition> propDefsIn,
Set<String> ignored)
Helper method called to filter out explicit ignored properties,
as well as properties that have "ignorable types".
|
List<BeanPropertyDefinition> |
BeanDeserializerModifier.updateProperties(DeserializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyDefinition> propDefs)
Method called by
BeanDeserializerFactory when it has collected
initial list of BeanPropertyDefinition s, and done basic by-name
and by-type filtering, but before constructing builder or actual
property handlers; or arranging order. |
Constructor and Description |
---|
SettableBeanProperty(BeanPropertyDefinition propDef,
JavaType type,
TypeDeserializer typeDeser,
Annotations contextAnnotations) |
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) |
Modifier and Type | Class and Description |
---|---|
class |
POJOPropertyBuilder
Helper class used for aggregating information about a single
potential POJO property.
|
Modifier and Type | Field and Description |
---|---|
protected List<BeanPropertyDefinition> |
BasicBeanDescription._properties
Properties collected for the POJO.
|
Modifier and Type | Method and Description |
---|---|
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
getName() would return newName . |
BeanPropertyDefinition |
BeanPropertyDefinition.withName(String newName)
Deprecated.
|
abstract BeanPropertyDefinition |
BeanPropertyDefinition.withSimpleName(String newSimpleName)
Alternate "mutant factory" that will only change simple name, but
leave other optional parts (like namespace) as is.
|
Modifier and Type | Method and Description |
---|---|
List<BeanPropertyDefinition> |
BasicBeanDescription.findProperties() |
List<BeanPropertyDefinition> |
POJOPropertiesCollector.getProperties() |
Constructor and Description |
---|
BasicBeanDescription(MapperConfig<?> config,
JavaType type,
AnnotatedClass classDef,
List<BeanPropertyDefinition> props) |
Modifier and Type | Method and Description |
---|---|
protected BeanPropertyWriter |
BeanSerializerFactory._constructWriter(SerializerProvider prov,
BeanPropertyDefinition propDef,
TypeBindings typeContext,
PropertyBuilder pb,
boolean staticTyping,
AnnotatedMember accessor)
Secondary helper method for constructing
BeanPropertyWriter for
given member (field or method). |
protected BeanPropertyWriter |
PropertyBuilder.buildWriter(BeanPropertyDefinition propDef,
JavaType declaredType,
JsonSerializer<?> ser,
TypeSerializer typeSer,
TypeSerializer contentTypeSer,
AnnotatedMember am,
boolean defaultUseStaticTyping)
Deprecated.
Since 2.3, use variant that takes
SerializerProvider as
first argument -- to be removed from 2.4 |
protected BeanPropertyWriter |
PropertyBuilder.buildWriter(SerializerProvider prov,
BeanPropertyDefinition propDef,
JavaType declaredType,
JsonSerializer<?> ser,
TypeSerializer typeSer,
TypeSerializer contentTypeSer,
AnnotatedMember am,
boolean defaultUseStaticTyping) |
Modifier and Type | Method and Description |
---|---|
protected void |
BeanSerializerFactory.removeIgnorableTypes(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyDefinition> properties)
Method that will apply by-type limitations (as per [JACKSON-429]);
by default this is based on
JsonIgnoreType annotation but
can be supplied by module-provided introspectors too. |
protected void |
BeanSerializerFactory.removeSetterlessGetters(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyDefinition> properties)
Helper method that will remove all properties that do not have a mutator.
|
Constructor and Description |
---|
BeanPropertyWriter(BeanPropertyDefinition propDef,
AnnotatedMember member,
Annotations contextAnnotations,
JavaType declaredType,
JsonSerializer<?> ser,
TypeSerializer typeSer,
JavaType serType,
boolean suppressNulls,
Object suppressableValue) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleBeanPropertyDefinition
Simple immutable
BeanPropertyDefinition implementation that can
be wrapped around a AnnotatedMember that is a simple
accessor (getter) or mutator (setter, constructor parameter)
(or both, for fields). |
Copyright © 2014 FasterXML. All Rights Reserved.