Top Description Fields Constructors Methods
tools.jackson.datatype.guava.ser

public Class GuavaBeanSerializerModifier

extends ValueSerializerModifier
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.Serializable, java.util.List, com.google.common.base.Optional, tools.jackson.databind.*, tools.jackson.databind.introspect.AnnotatedMember, tools.jackson.databind.ser.BeanPropertyWriter, .ValueSerializerModifier, tools.jackson.databind.ser.bean.UnwrappingBeanPropertyWriter, tools.jackson.databind.util.NameTransformer

ValueSerializerModifier needed to sneak in handler to exclude "absent" optional values iff handling of "absent as nulls" is enabled.

Field Summary

Modifier and TypeField and Description
pack-priv static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<BeanPropertyWriter>
changeProperties(SerializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyWriter> beanProperties)

Overrides tools.jackson.databind.ser.ValueSerializerModifier.changeProperties.

Method called by BeanSerializerFactory with tentative set of discovered properties.

Inherited from tools.jackson.databind.ser.ValueSerializerModifier:
modifyArraySerializermodifyCollectionLikeSerializermodifyCollectionSerializermodifyEnumSerializermodifyKeySerializermodifyMapLikeSerializermodifyMapSerializermodifySerializerorderPropertiesupdateBuilder

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides tools.jackson.databind.ser.ValueSerializerModifier.serialVersionUID.

Constructor Detail

GuavaBeanSerializerModifierback to summary
public GuavaBeanSerializerModifier()

Method Detail

changePropertiesback to summary
public List<BeanPropertyWriter> changeProperties(SerializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyWriter> beanProperties)

Overrides tools.jackson.databind.ser.ValueSerializerModifier.changeProperties.

Doc from tools.jackson.databind.ser.ValueSerializerModifier.changeProperties.

Method called by BeanSerializerFactory with tentative set of discovered properties. Implementations can add, remove or replace any of passed properties. Properties List passed as argument is modifiable, and returned List must likewise be modifiable as it may be passed to multiple registered modifiers.

Annotations
@Override