public final class BooleanMethodPropertyWriter extends OptimizedBeanPropertyWriter<BooleanMethodPropertyWriter>
Modifier and Type | Field and Description |
---|---|
private boolean |
_suppressableBoolean |
private boolean |
_suppressableSet |
private static long |
serialVersionUID |
_fastName, _propertyAccessor, _propertyIndex, broken, fallbackWriter
_accessorMethod, _cfgSerializationType, _contextAnnotations, _declaredType, _dynamicSerializers, _field, _includeInViews, _internalSettings, _member, _name, _nonTrivialBaseType, _nullSerializer, _serializer, _suppressableValue, _suppressNulls, _typeSerializer, _wrapperName, MARKER_FOR_EMPTY
Constructor and Description |
---|
BooleanMethodPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter src,
BeanPropertyAccessor acc,
int index,
com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser) |
Modifier and Type | Method and Description |
---|---|
void |
serializeAsElement(java.lang.Object bean,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider prov) |
void |
serializeAsField(java.lang.Object bean,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider prov) |
BooleanMethodPropertyWriter |
withAccessor(BeanPropertyAccessor acc) |
com.fasterxml.jackson.databind.ser.BeanPropertyWriter |
withSerializer(com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser) |
_handleProblem, _reportProblem, assignNullSerializer, assignSerializer, assignTypeSerializer, isDefaultSerializer
_depositSchemaProperty, _findAndAddDynamic, _handleSelfReference, _new, depositSchemaProperty, depositSchemaProperty, fixAccess, get, getAnnotation, getContextAnnotation, getFullName, getGenericPropertyType, getInternalSetting, getMember, getName, getPropertyType, getRawSerializationType, getSerializationType, getSerializedName, getSerializer, getType, getTypeSerializer, getViews, getWrapperName, hasNullSerializer, hasSerializer, isUnwrapping, removeInternalSetting, rename, serializeAsOmittedField, serializeAsPlaceholder, setInternalSetting, setNonTrivialBaseType, toString, unwrappingWriter, willSuppressNulls, wouldConflictWithName
private static final long serialVersionUID
private final boolean _suppressableSet
private final boolean _suppressableBoolean
public BooleanMethodPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter src, BeanPropertyAccessor acc, int index, com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser)
public com.fasterxml.jackson.databind.ser.BeanPropertyWriter withSerializer(com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser)
withSerializer
in class OptimizedBeanPropertyWriter<BooleanMethodPropertyWriter>
public BooleanMethodPropertyWriter withAccessor(BeanPropertyAccessor acc)
withAccessor
in class OptimizedBeanPropertyWriter<BooleanMethodPropertyWriter>
public final void serializeAsField(java.lang.Object bean, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov) throws java.lang.Exception
serializeAsField
in class OptimizedBeanPropertyWriter<BooleanMethodPropertyWriter>
java.lang.Exception
public final void serializeAsElement(java.lang.Object bean, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov) throws java.lang.Exception
serializeAsElement
in class OptimizedBeanPropertyWriter<BooleanMethodPropertyWriter>
java.lang.Exception