Uses of Class
com.fasterxml.jackson.databind.ser.BeanPropertyWriter
-
Packages that use BeanPropertyWriter 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 -
-
Uses of BeanPropertyWriter in com.fasterxml.jackson.databind
Method parameters in com.fasterxml.jackson.databind with type arguments of type BeanPropertyWriter Modifier and Type Method Description voidAnnotationIntrospector. 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 BeanPropertyWriter Modifier and Type Method Description protected BeanPropertyWriterJacksonAnnotationIntrospector. _constructVirtualProperty(JsonAppend.Attr attr, MapperConfig<?> config, AnnotatedClass ac, JavaType type)protected BeanPropertyWriterJacksonAnnotationIntrospector. _constructVirtualProperty(JsonAppend.Prop prop, MapperConfig<?> config, AnnotatedClass ac)Method parameters in com.fasterxml.jackson.databind.introspect with type arguments of type BeanPropertyWriter Modifier and Type Method Description voidAnnotationIntrospectorPair. findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties)voidJacksonAnnotationIntrospector. 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.ser Modifier and Type Class Description classVirtualBeanPropertyWriterBeanPropertyWriterimplementation used withJsonAppendto add "virtual" properties in addition to regular ones.Fields in com.fasterxml.jackson.databind.ser declared as BeanPropertyWriter Modifier and Type Field Description protected BeanPropertyWriter[]BeanSerializerBuilder. _filteredPropertiesOptional 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 BeanPropertyWriter Modifier and Type Field Description protected List<BeanPropertyWriter>BeanSerializerBuilder. _propertiesBean properties, in order of serializationMethods in com.fasterxml.jackson.databind.ser that return BeanPropertyWriter Modifier and Type Method Description protected BeanPropertyWriterBeanSerializerFactory. _constructWriter(SerializerProvider prov, 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(SerializerProvider prov, BeanPropertyDefinition propDef, JavaType declaredType, JsonSerializer<?> 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.BeanPropertyWriter[]BeanSerializerBuilder. getFilteredProperties()BeanPropertyWriterBeanPropertyWriter. rename(NameTransformer transformer)BeanPropertyWriterBeanPropertyWriter. 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 BeanPropertyWriter Modifier and Type Method Description List<BeanPropertyWriter>BeanSerializerModifier. changeProperties(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties)Method called byBeanSerializerFactorywith 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. 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 byBeanSerializerFactorywith 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 BeanPropertyWriter Modifier and Type Method Description protected BeanPropertyWriterBeanSerializerFactory. constructFilteredBeanWriter(BeanPropertyWriter writer, Class<?>[] inViews)Method called to construct a filtered writer, for given view definitions.voidBeanPropertyFilter. depositSchemaProperty(BeanPropertyWriter writer, JsonObjectFormatVisitor objectVisitor, SerializerProvider provider)Deprecated.Method called byBeanSerializerto let the filter determine whether, and in what form the given property exist within the parent, or root, schema.voidBeanPropertyFilter. depositSchemaProperty(BeanPropertyWriter writer, ObjectNode propertiesNode, SerializerProvider provider)Deprecated.Since 2.3: new code should use the alternativedepositSchemaPropertymethodvoidBeanPropertyFilter. serializeAsField(Object pojo, com.fasterxml.jackson.core.JsonGenerator jgen, SerializerProvider prov, BeanPropertyWriter writer)Deprecated.Method called byBeanSerializerto let filter decide what to do with given bean property value: the usual choices are to either filter out (i.e.voidBeanSerializerBuilder. setFilteredProperties(BeanPropertyWriter[] properties)Method parameters in com.fasterxml.jackson.databind.ser with type arguments of type BeanPropertyWriter Modifier and Type Method Description List<BeanPropertyWriter>BeanSerializerModifier. changeProperties(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties)Method called byBeanSerializerFactorywith tentative set of discovered properties.protected ObjectIdWriterBeanSerializerFactory. 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.List<BeanPropertyWriter>BeanSerializerModifier. orderProperties(SerializationConfig config, BeanDescription 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(SerializerProvider prov, BeanDescription beanDesc, 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 com.fasterxml.jackson.databind.ser with parameters of type BeanPropertyWriter Constructor Description BeanPropertyWriter(BeanPropertyWriter base)"Copy constructor" to be used by filtering sub-classesBeanPropertyWriter(BeanPropertyWriter base, com.fasterxml.jackson.core.io.SerializedString name)BeanPropertyWriter(BeanPropertyWriter base, PropertyName name)BeanSerializer(JavaType type, BeanSerializerBuilder builder, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) -
Uses of BeanPropertyWriter in com.fasterxml.jackson.databind.ser.impl
Subclasses of BeanPropertyWriter in com.fasterxml.jackson.databind.ser.impl Modifier and Type Class Description classAttributePropertyWriterVirtualBeanPropertyWriterimplementation used forJsonAppend, to serialize properties backed-by dynamically assignable attribute values.classUnwrappingBeanPropertyWriterVariant ofBeanPropertyWriterwhich 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 BeanPropertyWriter Modifier and Type Field Description protected BeanPropertyWriterPropertyBasedObjectIdGenerator. _propertyMethods in com.fasterxml.jackson.databind.ser.impl that return BeanPropertyWriter Modifier and Type Method Description static BeanPropertyWriterFilteredBeanPropertyWriter. constructViewBased(BeanPropertyWriter base, Class<?>[] viewsToIncludeIn)Methods in com.fasterxml.jackson.databind.ser.impl with parameters of type BeanPropertyWriter Modifier and Type Method Description static BeanPropertyWriterFilteredBeanPropertyWriter. constructViewBased(BeanPropertyWriter base, Class<?>[] viewsToIncludeIn)voidSimpleBeanPropertyFilter. depositSchemaProperty(BeanPropertyWriter writer, JsonObjectFormatVisitor objectVisitor, SerializerProvider provider)Deprecated.voidSimpleBeanPropertyFilter. depositSchemaProperty(BeanPropertyWriter writer, ObjectNode propertiesNode, SerializerProvider provider)Deprecated.protected 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)voidSimpleBeanPropertyFilter. serializeAsField(Object bean, com.fasterxml.jackson.core.JsonGenerator jgen, SerializerProvider provider, BeanPropertyWriter writer)Deprecated.Constructors in com.fasterxml.jackson.databind.ser.impl with parameters of type BeanPropertyWriter Constructor Description PropertyBasedObjectIdGenerator(ObjectIdInfo oid, BeanPropertyWriter prop)PropertyBasedObjectIdGenerator(Class<?> scope, BeanPropertyWriter prop)UnwrappingBeanPropertyWriter(BeanPropertyWriter base, NameTransformer unwrapper) -
Uses of BeanPropertyWriter in com.fasterxml.jackson.databind.ser.std
Fields in com.fasterxml.jackson.databind.ser.std declared as BeanPropertyWriter Modifier and Type Field Description protected BeanPropertyWriter[]BeanSerializerBase. _filteredPropsOptional filters used to suppress output of properties that are only to be included in certain viewsprotected BeanPropertyWriter[]BeanSerializerBase. _propsWriters used for outputting actual property valuesprotected static BeanPropertyWriter[]BeanSerializerBase. NO_PROPSMethods in com.fasterxml.jackson.databind.ser.std with parameters of type BeanPropertyWriter Modifier and Type Method 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).Constructors in com.fasterxml.jackson.databind.ser.std with parameters of type BeanPropertyWriter Constructor Description BeanSerializerBase(JavaType type, BeanSerializerBuilder builder, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties)Constructor used byBeanSerializerBuilderto create an instanceBeanSerializerBase(BeanSerializerBase src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties)
-