Class LongMethodPropertyWriter
- java.lang.Object
-
- com.fasterxml.jackson.databind.introspect.ConcreteBeanPropertyBase
-
- com.fasterxml.jackson.databind.ser.PropertyWriter
-
- com.fasterxml.jackson.databind.ser.BeanPropertyWriter
-
- com.fasterxml.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter<LongMethodPropertyWriter>
-
- com.fasterxml.jackson.module.afterburner.ser.LongMethodPropertyWriter
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.BeanProperty
,com.fasterxml.jackson.databind.util.Named
,java.io.Serializable
public final class LongMethodPropertyWriter extends OptimizedBeanPropertyWriter<LongMethodPropertyWriter>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private long
_suppressableLong
private boolean
_suppressableLongSet
private static long
serialVersionUID
-
Fields inherited from class com.fasterxml.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter
_fastName, _propertyAccessor, _propertyIndex, broken, fallbackWriter
-
Fields inherited from class com.fasterxml.jackson.databind.ser.BeanPropertyWriter
_accessorMethod, _cfgSerializationType, _contextAnnotations, _declaredType, _dynamicSerializers, _field, _includeInViews, _internalSettings, _member, _name, _nonTrivialBaseType, _nullSerializer, _serializer, _suppressableValue, _suppressNulls, _typeSerializer, _wrapperName, MARKER_FOR_EMPTY
-
-
Constructor Summary
Constructors Constructor Description LongMethodPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter src, BeanPropertyAccessor acc, int index, com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
LongMethodPropertyWriter
withAccessor(BeanPropertyAccessor acc)
com.fasterxml.jackson.databind.ser.BeanPropertyWriter
withSerializer(com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser)
-
Methods inherited from class com.fasterxml.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter
_handleProblem, _reportProblem, assignNullSerializer, assignSerializer, assignTypeSerializer
-
Methods inherited from class com.fasterxml.jackson.databind.ser.BeanPropertyWriter
_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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
_suppressableLong
private final long _suppressableLong
-
_suppressableLongSet
private final boolean _suppressableLongSet
-
-
Constructor Detail
-
LongMethodPropertyWriter
public LongMethodPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter src, BeanPropertyAccessor acc, int index, com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser)
-
-
Method Detail
-
withSerializer
public com.fasterxml.jackson.databind.ser.BeanPropertyWriter withSerializer(com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser)
- Specified by:
withSerializer
in classOptimizedBeanPropertyWriter<LongMethodPropertyWriter>
-
withAccessor
public LongMethodPropertyWriter withAccessor(BeanPropertyAccessor acc)
- Specified by:
withAccessor
in classOptimizedBeanPropertyWriter<LongMethodPropertyWriter>
-
serializeAsField
public final void serializeAsField(java.lang.Object bean, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov) throws java.lang.Exception
- Specified by:
serializeAsField
in classOptimizedBeanPropertyWriter<LongMethodPropertyWriter>
- Throws:
java.lang.Exception
-
serializeAsElement
public final void serializeAsElement(java.lang.Object bean, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov) throws java.lang.Exception
- Specified by:
serializeAsElement
in classOptimizedBeanPropertyWriter<LongMethodPropertyWriter>
- Throws:
java.lang.Exception
-
-