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

public final Class BooleanMethodPropertyWriter

extends OptimizedBeanPropertyWriter<BooleanMethodPropertyWriter>
Class Inheritance
Imports
tools.jackson.core.JsonGenerator, tools.jackson.databind.ValueSerializer, .PropertyName, .SerializationContext, tools.jackson.databind.ser.BeanPropertyWriter

Field Summary

Modifier and TypeField and Description
private final boolean
private final boolean
private static final long
Inherited from tools.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter:
_fastName_propertyAccessor_propertyIndexbrokenfallbackWriter

Constructor Summary

AccessConstructor and Description
public
protected

Method Summary

Modifier and TypeMethod and Description
protected BeanPropertyWriter
_new(PropertyName newName)

Implements abstract tools.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter._new.

Overridable factory method used by sub-classes

public final void
serializeAsElement(Object bean, JsonGenerator g, SerializationContext ctxt)

Implements abstract tools.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter.serializeAsElement.

Alternative to serializeAsProperty that is used when a POJO is serialized as JSON Array (usually when "Shape" is forced as 'Array'): the difference is that no property names are written.

public final void
serializeAsProperty(Object bean, JsonGenerator g, SerializationContext ctxt)

Implements abstract tools.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter.serializeAsProperty.

Method called to access property that this bean stands for, from within given bean, and to serialize it as a JSON Object field using appropriate serializer.

public BooleanMethodPropertyWriter
public BeanPropertyWriter
Inherited from tools.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter:
_handleProblem_reportProblemassignNullSerializerassignSerializerassignTypeSerializer

Field Detail

_suppressableBooleanback to summary
private final boolean _suppressableBoolean
_suppressableSetback to summary
private final boolean _suppressableSet
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

BooleanMethodPropertyWriterback to summary
public BooleanMethodPropertyWriter(BeanPropertyWriter src, BeanPropertyAccessor acc, int index, ValueSerializer<Object> ser)
BooleanMethodPropertyWriterback to summary
protected BooleanMethodPropertyWriter(BooleanMethodPropertyWriter base, PropertyName name)

Method Detail

_newback to summary
protected BeanPropertyWriter _new(PropertyName newName)

Implements abstract tools.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter._new.

Doc from tools.jackson.databind.ser.BeanPropertyWriter._new.

Overridable factory method used by sub-classes

Annotations
@Override
serializeAsElementback to summary
public final void serializeAsElement(Object bean, JsonGenerator g, SerializationContext ctxt) throws Exception

Implements abstract tools.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter.serializeAsElement.

Doc from tools.jackson.databind.ser.BeanPropertyWriter.serializeAsElement.

Alternative to serializeAsProperty that is used when a POJO is serialized as JSON Array (usually when "Shape" is forced as 'Array'): the difference is that no property names are written.

Annotations
@Override
serializeAsPropertyback to summary
public final void serializeAsProperty(Object bean, JsonGenerator g, SerializationContext ctxt) throws Exception

Implements abstract tools.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter.serializeAsProperty.

Doc from tools.jackson.databind.ser.BeanPropertyWriter.serializeAsProperty.

Method called to access property that this bean stands for, from within given bean, and to serialize it as a JSON Object field using appropriate serializer.

Annotations
@Override
withAccessorback to summary
public BooleanMethodPropertyWriter withAccessor(BeanPropertyAccessor acc)

Implements abstract tools.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter.withAccessor.

Annotations
@Override
withSerializerback to summary
public BeanPropertyWriter withSerializer(ValueSerializer<Object> ser)

Implements abstract tools.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter.withSerializer.

Annotations
@Override