Top Description Fields Constructors Methods
com.fasterxml.jackson.datatype.guava.ser

public Class GuavaBeanSerializerModifier

extends BeanSerializerModifier
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
com.fasterxml.jackson.databind.AnnotationIntrospector, .BeanDescription, .SerializationConfig, com.fasterxml.jackson.databind.introspect.AnnotatedMember, com.fasterxml.jackson.databind.ser.BeanPropertyWriter, .BeanSerializerModifier, com.fasterxml.jackson.databind.ser.impl.UnwrappingBeanPropertyWriter, com.fasterxml.jackson.databind.util.NameTransformer, com.google.common.base.Optional, java.io.Serializable, java.util.List

BeanSerializerModifier 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 beanDesc, List<BeanPropertyWriter> beanProperties)

Overrides com.fasterxml.jackson.databind.ser.BeanSerializerModifier.changeProperties.

Method called by BeanSerializerFactory with tentative set of discovered properties.

Inherited from com.fasterxml.jackson.databind.ser.BeanSerializerModifier:
modifyArraySerializermodifyCollectionLikeSerializermodifyCollectionSerializermodifyEnumSerializermodifyKeySerializermodifyMapLikeSerializermodifyMapSerializermodifySerializerorderPropertiesupdateBuilder

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides com.fasterxml.jackson.databind.ser.BeanSerializerModifier.serialVersionUID.

Constructor Detail

GuavaBeanSerializerModifierback to summary
public GuavaBeanSerializerModifier()

Method Detail

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

Overrides com.fasterxml.jackson.databind.ser.BeanSerializerModifier.changeProperties.

Doc from com.fasterxml.jackson.databind.ser.BeanSerializerModifier.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