Uses of Class
tools.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 tools.jackson.databind
Method parameters in tools.jackson.databind with type arguments of type BeanPropertyWriterModifier and TypeMethodDescriptionvoidAnnotationIntrospector.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 tools.jackson.databind.introspect
Methods in tools.jackson.databind.introspect that return BeanPropertyWriterModifier and TypeMethodDescriptionprotected BeanPropertyWriterJacksonAnnotationIntrospector._constructVirtualProperty(JsonAppend.Attr attr, MapperConfig<?> config, AnnotatedClass ac, JavaType type) protected BeanPropertyWriterJacksonAnnotationIntrospector._constructVirtualProperty(JsonAppend.Prop prop, MapperConfig<?> config, AnnotatedClass ac) Method parameters in tools.jackson.databind.introspect with type arguments of type BeanPropertyWriterModifier and TypeMethodDescriptionvoidAnnotationIntrospectorPair.findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties) voidJacksonAnnotationIntrospector.findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties) -
Uses of BeanPropertyWriter in tools.jackson.databind.ser
Subclasses of BeanPropertyWriter in tools.jackson.databind.serModifier and TypeClassDescriptionclassClass similar toBeanPropertyWriter, but that will be used for serializingJsonAnyGetterannotated (Map) propertiesclassBeanPropertyWriterimplementation used withJsonAppendto add "virtual" properties in addition to regular ones.Fields in tools.jackson.databind.ser declared as BeanPropertyWriterModifier and TypeFieldDescriptionprotected BeanPropertyWriter[]BeanSerializerBuilder._filteredPropertiesOptional array of filtered property writers; if null, no view-based filtering is performed.protected BeanPropertyWriterUnrolledBeanSerializer._prop1protected BeanPropertyWriterUnrolledBeanSerializer._prop2protected BeanPropertyWriterUnrolledBeanSerializer._prop3protected BeanPropertyWriterUnrolledBeanSerializer._prop4protected BeanPropertyWriterUnrolledBeanSerializer._prop5protected BeanPropertyWriterUnrolledBeanSerializer._prop6Fields in tools.jackson.databind.ser with type parameters of type BeanPropertyWriterModifier and TypeFieldDescriptionprotected List<BeanPropertyWriter>BeanSerializerBuilder._propertiesBean properties, in order of serializationMethods in tools.jackson.databind.ser that return BeanPropertyWriterModifier and TypeMethodDescriptionprotected BeanPropertyWriterPropertyBuilder._constructPropertyWriter(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue, Class<?>[] includeInViews) Overridable factory method for actual construction ofBeanPropertyWriter; often needed if subclassingPropertyBuilder.buildWriter(tools.jackson.databind.SerializationContext, tools.jackson.databind.introspect.BeanPropertyDefinition, tools.jackson.databind.JavaType, tools.jackson.databind.ValueSerializer<?>, tools.jackson.databind.jsontype.TypeSerializer, tools.jackson.databind.jsontype.TypeSerializer, tools.jackson.databind.introspect.AnnotatedMember, boolean)method.protected BeanPropertyWriterBeanSerializerFactory._constructWriter(SerializationContext ctxt, BeanPropertyDefinition propDef, PropertyBuilder pb, boolean staticTyping, AnnotatedMember accessor) Secondary helper method for constructingBeanPropertyWriterfor given member (field or method).protected BeanPropertyWriterBeanPropertyWriter._new(PropertyName newName) Overridable factory method used by sub-classesprotected BeanPropertyWriterPropertyBuilder.buildWriter(SerializationContext ctxt, BeanPropertyDefinition propDef, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, TypeSerializer contentTypeSer, AnnotatedMember am, boolean defaultUseStaticTyping) protected BeanPropertyWriterBeanSerializerFactory.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 tools.jackson.databind.ser that return types with arguments of type BeanPropertyWriterModifier and TypeMethodDescriptionValueSerializerModifier.changeProperties(SerializationConfig config, BeanDescription.Supplier beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactorywith tentative set of discovered properties.protected List<BeanPropertyWriter>BeanSerializerFactory.filterBeanProperties(SerializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyWriter> props) Overridable method that can filter out properties.protected List<BeanPropertyWriter>BeanSerializerFactory.filterUnwantedJDKProperties(SerializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyWriter> props) Overridable method used to filter out specifically problematic JDK provided properties.protected List<BeanPropertyWriter>BeanSerializerFactory.findBeanProperties(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanSerializerBuilder builder) Method used to collect all actual serializable properties.BeanSerializerBuilder.getProperties()ValueSerializerModifier.orderProperties(SerializationConfig config, BeanDescription.Supplier beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactorywith set of properties to serialize, in default ordering (based on defaults as well as possible type annotations).protected List<BeanPropertyWriter>BeanSerializerFactory.removeOverlappingTypeIds(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanSerializerBuilder builder, List<BeanPropertyWriter> props) Helper method called to ensure that we do not have "duplicate" type ids.Methods in tools.jackson.databind.ser with parameters of type BeanPropertyWriterModifier and TypeMethodDescriptionprotected BeanPropertyWriterBeanSerializerFactory.constructFilteredBeanWriter(BeanPropertyWriter writer, Class<?>[] inViews) Method called to construct a filtered writer, for given view definitions.voidBeanSerializerBuilder.setFilteredProperties(BeanPropertyWriter[] properties) static UnrolledBeanSerializerUnrolledBeanSerializer.tryConstruct(JavaType type, BeanSerializerBuilder builder, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Factory method that will construct optimized instance if all the constraints are obeyed; or, if not, return `null` to indicate that instance cannot be created.protected BeanSerializerBaseBeanSerializer.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) protected BeanSerializerBaseUnrolledBeanSerializer.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Method parameters in tools.jackson.databind.ser with type arguments of type BeanPropertyWriterModifier and TypeMethodDescriptionValueSerializerModifier.changeProperties(SerializationConfig config, BeanDescription.Supplier beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactorywith tentative set of discovered properties.protected ObjectIdWriterBeanSerializerFactory.constructObjectIdHandler(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, List<BeanPropertyWriter> props) protected List<BeanPropertyWriter>BeanSerializerFactory.filterBeanProperties(SerializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyWriter> props) Overridable method that can filter out properties.protected List<BeanPropertyWriter>BeanSerializerFactory.filterUnwantedJDKProperties(SerializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyWriter> props) Overridable method used to filter out specifically problematic JDK provided properties.ValueSerializerModifier.orderProperties(SerializationConfig config, BeanDescription.Supplier beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactorywith set of properties to serialize, in default ordering (based on defaults as well as possible type annotations).protected List<BeanPropertyWriter>BeanSerializerFactory.removeOverlappingTypeIds(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanSerializerBuilder builder, List<BeanPropertyWriter> props) Helper method called to ensure that we do not have "duplicate" type ids.voidBeanSerializerBuilder.setProperties(List<BeanPropertyWriter> properties) Constructors in tools.jackson.databind.ser with parameters of type BeanPropertyWriterModifierConstructorDescriptionAnyGetterWriter(BeanPropertyWriter parent, BeanProperty property, AnnotatedMember accessor, ValueSerializer<?> serializer) protected"Copy constructor" to be used by filtering sub-classesprotectedBeanPropertyWriter(BeanPropertyWriter base, SerializedString name) protectedBeanPropertyWriter(BeanPropertyWriter base, PropertyName name) BeanSerializer(JavaType type, BeanSerializerBuilder builder, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) protectedBeanSerializer(BeanSerializerBase src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) UnrolledBeanSerializer(JavaType type, BeanSerializerBuilder builder, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) protectedUnrolledBeanSerializer(UnrolledBeanSerializer src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) -
Uses of BeanPropertyWriter in tools.jackson.databind.ser.bean
Subclasses of BeanPropertyWriter in tools.jackson.databind.ser.beanModifier and TypeClassDescriptionclassVariant ofBeanPropertyWriterwhich will handle unwrapping of JSON Object (including of properties of Object within surrounding JSON object, and not as sub-object).Fields in tools.jackson.databind.ser.bean declared as BeanPropertyWriterModifier and TypeFieldDescriptionprotected final BeanPropertyWriter[]BeanSerializerBase._filteredPropsOptional filters used to suppress output of properties that are only to be included in certain viewsprotected BeanPropertyWriterUnrolledBeanAsArraySerializer._prop1protected BeanPropertyWriterUnrolledBeanAsArraySerializer._prop2protected BeanPropertyWriterUnrolledBeanAsArraySerializer._prop3protected BeanPropertyWriterUnrolledBeanAsArraySerializer._prop4protected BeanPropertyWriterUnrolledBeanAsArraySerializer._prop5protected BeanPropertyWriterUnrolledBeanAsArraySerializer._prop6protected final BeanPropertyWriter[]BeanSerializerBase._propsWriters used for outputting actual property valuesprotected static final BeanPropertyWriter[]BeanSerializerBase.NO_PROPSMethods in tools.jackson.databind.ser.bean with parameters of type BeanPropertyWriterModifier and TypeMethodDescriptionprotected voidBeanSerializerBase._serializePropertiesMaybeView(Object bean, JsonGenerator g, SerializationContext provider, BeanPropertyWriter[] props) Method called when no JSON Filter is to be applied, but View filtering is in effect and so some of properties may be nulls to check.protected voidBeanSerializerBase._serializePropertiesNoView(Object bean, JsonGenerator gen, SerializationContext provider, BeanPropertyWriter[] props) Method called when neither JSON Filter is to be applied, nor view-filtering.protected ValueSerializer<Object>BeanSerializerBase.findConvertingSerializer(SerializationContext 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 BeanSerializerBaseBeanAsArraySerializer.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) protected abstract BeanSerializerBaseBeanSerializerBase.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Mutant factory used for creating a new instance with modified set of propertiesprotected BeanSerializerBaseUnrolledBeanAsArraySerializer.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) protected BeanSerializerBaseUnwrappingBeanSerializer.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Constructors in tools.jackson.databind.ser.bean with parameters of type BeanPropertyWriterModifierConstructorDescriptionprotectedBeanSerializerBase(JavaType type, BeanSerializerBuilder builder, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Constructor used byBeanSerializerBuilderto create an instanceprotectedBeanSerializerBase(BeanSerializerBase src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) UnwrappingBeanPropertyWriter(BeanPropertyWriter base, NameTransformer unwrapper) protectedUnwrappingBeanSerializer(UnwrappingBeanSerializer src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) -
Uses of BeanPropertyWriter in tools.jackson.databind.ser.impl
Subclasses of BeanPropertyWriter in tools.jackson.databind.ser.implModifier and TypeClassDescriptionclassVirtualBeanPropertyWriterimplementation used forJsonAppend, to serialize properties backed-by dynamically assignable attribute values.Fields in tools.jackson.databind.ser.impl declared as BeanPropertyWriterModifier and TypeFieldDescriptionprotected final BeanPropertyWriterPropertyBasedObjectIdGenerator._propertyMethods in tools.jackson.databind.ser.impl that return BeanPropertyWriterModifier and TypeMethodDescriptionstatic BeanPropertyWriterFilteredBeanPropertyWriter.constructViewBased(BeanPropertyWriter base, Class<?>[] viewsToIncludeIn) Methods in tools.jackson.databind.ser.impl with parameters of type BeanPropertyWriterModifier and TypeMethodDescriptionstatic BeanPropertyWriterFilteredBeanPropertyWriter.constructViewBased(BeanPropertyWriter base, Class<?>[] viewsToIncludeIn) Constructors in tools.jackson.databind.ser.impl with parameters of type BeanPropertyWriterModifierConstructorDescriptionprotectedPropertyBasedObjectIdGenerator(Class<?> scope, BeanPropertyWriter prop) -
Uses of BeanPropertyWriter in tools.jackson.databind.ser.std
Methods in tools.jackson.databind.ser.std with parameters of type BeanPropertyWriterModifier and TypeMethodDescriptionprotected booleanSimpleBeanPropertyFilter.FilterExceptFilter.include(BeanPropertyWriter writer) protected booleanSimpleBeanPropertyFilter.include(BeanPropertyWriter writer) Method called to determine whether property will be included (if 'true' returned) or filtered out (if 'false' returned)protected booleanSimpleBeanPropertyFilter.SerializeExceptFilter.include(BeanPropertyWriter writer)