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.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 |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationIntrospector.findAndAddVirtualProperties(MapperConfig<?> config,
AnnotatedClass ac,
List<BeanPropertyWriter> properties)
Method for adding possible virtual properties to be serialized along
with regular properties.
|
Modifier and Type | Method and Description |
---|---|
protected BeanPropertyWriter |
JacksonAnnotationIntrospector._constructVirtualProperty(JsonAppend.Attr attr,
MapperConfig<?> config,
AnnotatedClass ac,
JavaType type) |
protected BeanPropertyWriter |
JacksonAnnotationIntrospector._constructVirtualProperty(JsonAppend.Prop prop,
MapperConfig<?> config,
AnnotatedClass ac) |
Modifier and Type | Method and Description |
---|---|
void |
JacksonAnnotationIntrospector.findAndAddVirtualProperties(MapperConfig<?> config,
AnnotatedClass ac,
List<BeanPropertyWriter> properties) |
void |
AnnotationIntrospectorPair.findAndAddVirtualProperties(MapperConfig<?> config,
AnnotatedClass ac,
List<BeanPropertyWriter> properties) |
Modifier and Type | Class and Description |
---|---|
class |
VirtualBeanPropertyWriter
BeanPropertyWriter implementation used with
JsonAppend
to add "virtual" properties in addition to regular ones. |
Modifier and Type | Field and Description |
---|---|
protected BeanPropertyWriter[] |
BeanSerializerBuilder._filteredProperties
Optional array of filtered property writers; if null, no
view-based filtering is performed.
|
Modifier and Type | Field and Description |
---|---|
protected List<BeanPropertyWriter> |
BeanSerializerBuilder._properties
Bean properties, in order of serialization
|
Modifier and Type | Method and Description |
---|---|
List<BeanPropertyWriter> |
BeanSerializerModifier.changeProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> beanProperties)
Method called by
BeanSerializerFactory with tentative set
of discovered properties. |
protected List<BeanPropertyWriter> |
BeanSerializerFactory.filterBeanProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> props)
Overridable method that can filter out properties.
|
protected List<BeanPropertyWriter> |
BeanSerializerFactory.filterUnwantedJDKProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> props)
Overridable method used to filter out specifically problematic JDK provided
properties.
|
protected List<BeanPropertyWriter> |
BeanSerializerFactory.findBeanProperties(SerializerProvider prov,
BeanDescription beanDesc,
BeanSerializerBuilder builder)
Method used to collect all actual serializable properties.
|
List<BeanPropertyWriter> |
BeanSerializerBuilder.getProperties() |
List<BeanPropertyWriter> |
BeanSerializerModifier.orderProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> beanProperties)
Method called by
BeanSerializerFactory with set of properties
to serialize, in default ordering (based on defaults as well as
possible type annotations). |
protected List<BeanPropertyWriter> |
BeanSerializerFactory.removeOverlappingTypeIds(SerializerProvider prov,
BeanDescription beanDesc,
BeanSerializerBuilder builder,
List<BeanPropertyWriter> props)
Helper method called to ensure that we do not have "duplicate" type ids.
|
Modifier and Type | Method and Description |
---|---|
protected BeanPropertyWriter |
BeanSerializerFactory.constructFilteredBeanWriter(BeanPropertyWriter writer,
Class<?>[] inViews)
Method called to construct a filtered writer, for given view
definitions.
|
void |
BeanPropertyFilter.depositSchemaProperty(BeanPropertyWriter writer,
JsonObjectFormatVisitor objectVisitor,
SerializerProvider provider)
Deprecated.
Method called by
BeanSerializer to let the filter determine whether, and in what
form the given property exist within the parent, or root, schema. |
void |
BeanPropertyFilter.depositSchemaProperty(BeanPropertyWriter writer,
ObjectNode propertiesNode,
SerializerProvider provider)
Deprecated.
Since 2.3: new code should use the alternative
depositSchemaProperty
method |
void |
BeanPropertyFilter.serializeAsField(Object pojo,
com.fasterxml.jackson.core.JsonGenerator jgen,
SerializerProvider prov,
BeanPropertyWriter writer)
Deprecated.
Method called by
BeanSerializer to let filter decide what to do with
given bean property value: the usual choices are to either filter out (i.e. |
void |
BeanSerializerBuilder.setFilteredProperties(BeanPropertyWriter[] properties) |
protected BeanSerializerBase |
BeanSerializer.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
protected BeanSerializerBase |
BeanSerializer.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
Modifier and Type | Method and Description |
---|---|
List<BeanPropertyWriter> |
BeanSerializerModifier.changeProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> beanProperties)
Method called by
BeanSerializerFactory with tentative set
of discovered properties. |
protected ObjectIdWriter |
BeanSerializerFactory.constructObjectIdHandler(SerializerProvider prov,
BeanDescription beanDesc,
List<BeanPropertyWriter> props) |
protected List<BeanPropertyWriter> |
BeanSerializerFactory.filterBeanProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> props)
Overridable method that can filter out properties.
|
protected List<BeanPropertyWriter> |
BeanSerializerFactory.filterUnwantedJDKProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> props)
Overridable method used to filter out specifically problematic JDK provided
properties.
|
List<BeanPropertyWriter> |
BeanSerializerModifier.orderProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> beanProperties)
Method called by
BeanSerializerFactory with set of properties
to serialize, in default ordering (based on defaults as well as
possible type annotations). |
protected List<BeanPropertyWriter> |
BeanSerializerFactory.removeOverlappingTypeIds(SerializerProvider prov,
BeanDescription beanDesc,
BeanSerializerBuilder builder,
List<BeanPropertyWriter> props)
Helper method called to ensure that we do not have "duplicate" type ids.
|
void |
BeanSerializerBuilder.setProperties(List<BeanPropertyWriter> properties) |
Constructor and Description |
---|
BeanPropertyWriter(BeanPropertyWriter base)
"Copy constructor" to be used by filtering sub-classes
|
BeanPropertyWriter(BeanPropertyWriter base,
PropertyName name) |
BeanPropertyWriter(BeanPropertyWriter base,
com.fasterxml.jackson.core.io.SerializedString name) |
BeanSerializer(BeanSerializerBase src,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
BeanSerializer(BeanSerializerBase src,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
BeanSerializer(JavaType type,
BeanSerializerBuilder builder,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
BeanSerializer(JavaType type,
BeanSerializerBuilder builder,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
Modifier and Type | Class and Description |
---|---|
class |
AttributePropertyWriter
VirtualBeanPropertyWriter implementation used for
JsonAppend ,
to serialize properties backed-by dynamically assignable attribute
values. |
class |
UnwrappingBeanPropertyWriter
Variant of
BeanPropertyWriter which will handle unwrapping
of JSON Object (including of properties of Object within surrounding
JSON object, and not as sub-object). |
Modifier and Type | Field and Description |
---|---|
protected BeanPropertyWriter |
PropertyBasedObjectIdGenerator._property |
Modifier and Type | Method and Description |
---|---|
static BeanPropertyWriter |
FilteredBeanPropertyWriter.constructViewBased(BeanPropertyWriter base,
Class<?>[] viewsToIncludeIn) |
Modifier and Type | Method and Description |
---|---|
static BeanPropertyWriter |
FilteredBeanPropertyWriter.constructViewBased(BeanPropertyWriter base,
Class<?>[] viewsToIncludeIn) |
void |
SimpleBeanPropertyFilter.depositSchemaProperty(BeanPropertyWriter writer,
JsonObjectFormatVisitor objectVisitor,
SerializerProvider provider)
Deprecated.
|
void |
SimpleBeanPropertyFilter.depositSchemaProperty(BeanPropertyWriter writer,
ObjectNode propertiesNode,
SerializerProvider provider)
Deprecated.
|
protected boolean |
SimpleBeanPropertyFilter.include(BeanPropertyWriter writer)
Method called to determine whether property will be included
(if 'true' returned) or filtered out (if 'false' returned)
|
protected boolean |
SimpleBeanPropertyFilter.FilterExceptFilter.include(BeanPropertyWriter writer) |
protected boolean |
SimpleBeanPropertyFilter.SerializeExceptFilter.include(BeanPropertyWriter writer) |
void |
SimpleBeanPropertyFilter.serializeAsField(Object bean,
com.fasterxml.jackson.core.JsonGenerator jgen,
SerializerProvider provider,
BeanPropertyWriter writer)
Deprecated.
|
protected BeanSerializerBase |
BeanAsArraySerializer.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
protected BeanSerializerBase |
BeanAsArraySerializer.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
protected BeanSerializerBase |
UnwrappingBeanSerializer.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
protected BeanSerializerBase |
UnwrappingBeanSerializer.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
Constructor and Description |
---|
PropertyBasedObjectIdGenerator(Class<?> scope,
BeanPropertyWriter prop) |
PropertyBasedObjectIdGenerator(ObjectIdInfo oid,
BeanPropertyWriter prop) |
UnwrappingBeanPropertyWriter(BeanPropertyWriter base,
NameTransformer unwrapper) |
UnwrappingBeanSerializer(UnwrappingBeanSerializer src,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
UnwrappingBeanSerializer(UnwrappingBeanSerializer src,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
Modifier and Type | Field and Description |
---|---|
protected BeanPropertyWriter[] |
BeanSerializerBase._filteredProps
Optional filters used to suppress output of properties that
are only to be included in certain views
|
protected BeanPropertyWriter[] |
BeanSerializerBase._props
Writers used for outputting actual property values
|
protected static BeanPropertyWriter[] |
BeanSerializerBase.NO_PROPS |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<Object> |
BeanSerializerBase.findConvertingSerializer(SerializerProvider provider,
BeanPropertyWriter prop)
Helper method that can be used to see if specified property is annotated
to indicate use of a converter for property value (in case of container types,
it is container type itself, not key or content type).
|
protected abstract BeanSerializerBase |
BeanSerializerBase.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties)
Mutant factory used for creating a new instance with modified set
of properties.
|
protected abstract BeanSerializerBase |
BeanSerializerBase.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties)
Mutant factory used for creating a new instance with modified set
of properties.
|
Constructor and Description |
---|
BeanSerializerBase(BeanSerializerBase src,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
BeanSerializerBase(BeanSerializerBase src,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
BeanSerializerBase(JavaType type,
BeanSerializerBuilder builder,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties)
Constructor used by
BeanSerializerBuilder to create an
instance |
BeanSerializerBase(JavaType type,
BeanSerializerBuilder builder,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties)
Constructor used by
BeanSerializerBuilder to create an
instance |
Copyright © 2008–2022 FasterXML. All rights reserved.