Uses of Class
com.fasterxml.jackson.databind.ser.BeanPropertyWriter
Packages that use BeanPropertyWriter
Package
Description
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.Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Contains implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
-
Uses of BeanPropertyWriter in com.fasterxml.jackson.databind
Method parameters in com.fasterxml.jackson.databind with type arguments of type BeanPropertyWriterModifier and TypeMethodDescriptionvoid
AnnotationIntrospector.findAndAddVirtualProperties
(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties) Method for adding possible virtual properties to be serialized along with regular properties. -
Uses of BeanPropertyWriter in com.fasterxml.jackson.databind.introspect
Methods in com.fasterxml.jackson.databind.introspect that return BeanPropertyWriterModifier and TypeMethodDescriptionprotected BeanPropertyWriter
JacksonAnnotationIntrospector._constructVirtualProperty
(JsonAppend.Attr attr, MapperConfig<?> config, AnnotatedClass ac, JavaType type) protected BeanPropertyWriter
JacksonAnnotationIntrospector._constructVirtualProperty
(JsonAppend.Prop prop, MapperConfig<?> config, AnnotatedClass ac) Method parameters in com.fasterxml.jackson.databind.introspect with type arguments of type BeanPropertyWriterModifier and TypeMethodDescriptionvoid
AnnotationIntrospectorPair.findAndAddVirtualProperties
(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties) void
JacksonAnnotationIntrospector.findAndAddVirtualProperties
(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties) -
Uses of BeanPropertyWriter in com.fasterxml.jackson.databind.ser
Subclasses of BeanPropertyWriter in com.fasterxml.jackson.databind.serModifier and TypeClassDescriptionclass
BeanPropertyWriter
implementation used withJsonAppend
to add "virtual" properties in addition to regular ones.Fields in com.fasterxml.jackson.databind.ser declared as BeanPropertyWriterModifier and TypeFieldDescriptionprotected BeanPropertyWriter[]
BeanSerializerBuilder._filteredProperties
Optional array of filtered property writers; if null, no view-based filtering is performed.Fields in com.fasterxml.jackson.databind.ser with type parameters of type BeanPropertyWriterModifier and TypeFieldDescriptionprotected List
<BeanPropertyWriter> BeanSerializerBuilder._properties
Bean properties, in order of serializationMethods in com.fasterxml.jackson.databind.ser that return BeanPropertyWriterModifier and TypeMethodDescriptionprotected BeanPropertyWriter
PropertyBuilder._constructPropertyWriter
(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue, Class<?>[] includeInViews) Overridable factory method for actual construction ofBeanPropertyWriter
; often needed if subclassingPropertyBuilder.buildWriter(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer<?>, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.introspect.AnnotatedMember, boolean)
method.protected BeanPropertyWriter
BeanSerializerFactory._constructWriter
(SerializerProvider prov, BeanPropertyDefinition propDef, PropertyBuilder pb, boolean staticTyping, AnnotatedMember accessor) Secondary helper method for constructingBeanPropertyWriter
for given member (field or method).protected BeanPropertyWriter
BeanPropertyWriter._new
(PropertyName newName) Overridable factory method used by sub-classesprotected BeanPropertyWriter
PropertyBuilder.buildWriter
(SerializerProvider prov, BeanPropertyDefinition propDef, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, TypeSerializer contentTypeSer, AnnotatedMember am, boolean defaultUseStaticTyping) protected BeanPropertyWriter
BeanSerializerFactory.constructFilteredBeanWriter
(BeanPropertyWriter writer, Class<?>[] inViews) Method called to construct a filtered writer, for given view definitions.BeanSerializerBuilder.getFilteredProperties()
BeanPropertyWriter.rename
(NameTransformer transformer) BeanPropertyWriter.unwrappingWriter
(NameTransformer unwrapper) Method called create an instance that handles details of unwrapping contained value.Methods in com.fasterxml.jackson.databind.ser that return types with arguments of type BeanPropertyWriterModifier and TypeMethodDescriptionBeanSerializerModifier.changeProperties
(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactory
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.BeanSerializerBuilder.getProperties()
BeanSerializerModifier.orderProperties
(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactory
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.Methods in com.fasterxml.jackson.databind.ser with parameters of type BeanPropertyWriterModifier and TypeMethodDescriptionprotected 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 byBeanSerializer
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.void
BeanPropertyFilter.serializeAsField
(Object pojo, com.fasterxml.jackson.core.JsonGenerator jgen, SerializerProvider prov, BeanPropertyWriter writer) Deprecated.Method called byBeanSerializer
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) Method parameters in com.fasterxml.jackson.databind.ser with type arguments of type BeanPropertyWriterModifier and TypeMethodDescriptionBeanSerializerModifier.changeProperties
(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactory
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.BeanSerializerModifier.orderProperties
(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactory
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) Constructors in com.fasterxml.jackson.databind.ser with parameters of type BeanPropertyWriterModifierConstructorDescriptionprotected
"Copy constructor" to be used by filtering sub-classesprotected
BeanPropertyWriter
(BeanPropertyWriter base, com.fasterxml.jackson.core.io.SerializedString name) protected
BeanPropertyWriter
(BeanPropertyWriter base, PropertyName name) BeanSerializer
(JavaType type, BeanSerializerBuilder builder, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) protected
BeanSerializer
(BeanSerializerBase src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) -
Uses of BeanPropertyWriter in com.fasterxml.jackson.databind.ser.impl
Subclasses of BeanPropertyWriter in com.fasterxml.jackson.databind.ser.implModifier and TypeClassDescriptionclass
VirtualBeanPropertyWriter
implementation used forJsonAppend
, to serialize properties backed-by dynamically assignable attribute values.class
Variant ofBeanPropertyWriter
which will handle unwrapping of JSON Object (including of properties of Object within surrounding JSON object, and not as sub-object).Fields in com.fasterxml.jackson.databind.ser.impl declared as BeanPropertyWriterModifier and TypeFieldDescriptionprotected final BeanPropertyWriter
PropertyBasedObjectIdGenerator._property
Methods in com.fasterxml.jackson.databind.ser.impl that return BeanPropertyWriterModifier and TypeMethodDescriptionstatic BeanPropertyWriter
FilteredBeanPropertyWriter.constructViewBased
(BeanPropertyWriter base, Class<?>[] viewsToIncludeIn) Methods in com.fasterxml.jackson.databind.ser.impl with parameters of type BeanPropertyWriterModifier and TypeMethodDescriptionstatic 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.FilterExceptFilter.include
(BeanPropertyWriter writer) 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.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
UnwrappingBeanSerializer.withProperties
(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Constructors in com.fasterxml.jackson.databind.ser.impl with parameters of type BeanPropertyWriterModifierConstructorDescriptionprotected
PropertyBasedObjectIdGenerator
(Class<?> scope, BeanPropertyWriter prop) UnwrappingBeanPropertyWriter
(BeanPropertyWriter base, NameTransformer unwrapper) protected
UnwrappingBeanSerializer
(UnwrappingBeanSerializer src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) -
Uses of BeanPropertyWriter in com.fasterxml.jackson.databind.ser.std
Fields in com.fasterxml.jackson.databind.ser.std declared as BeanPropertyWriterModifier and TypeFieldDescriptionprotected final BeanPropertyWriter[]
BeanSerializerBase._filteredProps
Optional filters used to suppress output of properties that are only to be included in certain viewsprotected final BeanPropertyWriter[]
BeanSerializerBase._props
Writers used for outputting actual property valuesprotected static final BeanPropertyWriter[]
BeanSerializerBase.NO_PROPS
Methods in com.fasterxml.jackson.databind.ser.std with parameters of type BeanPropertyWriterModifier and TypeMethodDescriptionprotected 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.Constructors in com.fasterxml.jackson.databind.ser.std with parameters of type BeanPropertyWriterModifierConstructorDescriptionprotected
BeanSerializerBase
(JavaType type, BeanSerializerBuilder builder, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Constructor used byBeanSerializerBuilder
to create an instanceprotected
BeanSerializerBase
(BeanSerializerBase src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties)
depositSchemaProperty
method