public class Jdk8BeanSerializerModifier extends BeanSerializerModifier
BeanSerializerModifier
needed to sneak in handler to exclude "absent"
optional values iff handling of "absent as nulls" is enabled.Constructor and Description |
---|
Jdk8BeanSerializerModifier() |
Modifier and Type | Method and Description |
---|---|
List<BeanPropertyWriter> |
changeProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> beanProperties)
Method called by
BeanSerializerFactory with tentative set
of discovered properties. |
modifyArraySerializer, modifyCollectionLikeSerializer, modifyCollectionSerializer, modifyEnumSerializer, modifyKeySerializer, modifyMapLikeSerializer, modifyMapSerializer, modifySerializer, orderProperties, updateBuilder
public List<BeanPropertyWriter> changeProperties(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties)
BeanSerializerModifier
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.changeProperties
in class BeanSerializerModifier
Copyright © 2019 JBoss by Red Hat. All rights reserved.