Top Fields Constructors Methods
tools.jackson.module.afterburner.ser

public Class ABSerializerModifier

extends ValueSerializerModifier
Class Inheritance
Imports
java.lang.reflect.Member, .Modifier, java.util.*, tools.jackson.databind.*, tools.jackson.databind.introspect.AnnotatedMember, .AnnotatedMethod, tools.jackson.databind.ser.*, tools.jackson.module.afterburner.util.MyClassLoader

Field Summary

Modifier and TypeField and Description
protected final MyClassLoader
_classLoader

Class loader to use for generated classes; if null, will try to use class loader of the target class.

private 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.

protected PropertyAccessorCollector
findProperties(Class<?> beanClass, SerializationConfig config, List<BeanPropertyWriter> beanProperties)

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

Field Detail

_classLoaderback to summary
protected final MyClassLoader _classLoader

Class loader to use for generated classes; if null, will try to use class loader of the target class.

serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

ABSerializerModifierback to summary
public ABSerializerModifier(ClassLoader cl)

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
findPropertiesback to summary
protected PropertyAccessorCollector findProperties(Class<?> beanClass, SerializationConfig config, List<BeanPropertyWriter> beanProperties)