public class OptionalSerializer extends com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer<Optional<?>>
Modifier | Constructor and Description |
---|---|
protected |
OptionalSerializer(OptionalSerializer base,
com.fasterxml.jackson.databind.BeanProperty property,
com.fasterxml.jackson.databind.jsontype.TypeSerializer vts,
com.fasterxml.jackson.databind.JsonSerializer<?> valueSer,
com.fasterxml.jackson.databind.util.NameTransformer unwrapper,
Object suppressableValue,
boolean suppressNulls) |
protected |
OptionalSerializer(com.fasterxml.jackson.databind.type.ReferenceType fullType,
boolean staticTyping,
com.fasterxml.jackson.databind.jsontype.TypeSerializer vts,
com.fasterxml.jackson.databind.JsonSerializer<Object> ser) |
Modifier and Type | Method and Description |
---|---|
protected Object |
_getReferenced(Optional<?> value) |
protected Object |
_getReferencedIfPresent(Optional<?> value) |
protected boolean |
_isValuePresent(Optional<?> value) |
com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer<Optional<?>> |
withContentInclusion(Object suppressableValue,
boolean suppressNulls) |
protected com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer<Optional<?>> |
withResolved(com.fasterxml.jackson.databind.BeanProperty prop,
com.fasterxml.jackson.databind.jsontype.TypeSerializer vts,
com.fasterxml.jackson.databind.JsonSerializer<?> valueSer,
com.fasterxml.jackson.databind.util.NameTransformer unwrapper) |
_useStatic, acceptJsonFormatVisitor, createContextual, getReferredType, isEmpty, isUnwrappingSerializer, serialize, serializeWithType, unwrappingSerializer
_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
protected OptionalSerializer(com.fasterxml.jackson.databind.type.ReferenceType fullType, boolean staticTyping, com.fasterxml.jackson.databind.jsontype.TypeSerializer vts, com.fasterxml.jackson.databind.JsonSerializer<Object> ser)
protected OptionalSerializer(OptionalSerializer base, com.fasterxml.jackson.databind.BeanProperty property, com.fasterxml.jackson.databind.jsontype.TypeSerializer vts, com.fasterxml.jackson.databind.JsonSerializer<?> valueSer, com.fasterxml.jackson.databind.util.NameTransformer unwrapper, Object suppressableValue, boolean suppressNulls)
protected com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer<Optional<?>> withResolved(com.fasterxml.jackson.databind.BeanProperty prop, com.fasterxml.jackson.databind.jsontype.TypeSerializer vts, com.fasterxml.jackson.databind.JsonSerializer<?> valueSer, com.fasterxml.jackson.databind.util.NameTransformer unwrapper)
withResolved
in class com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer<Optional<?>>
public com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer<Optional<?>> withContentInclusion(Object suppressableValue, boolean suppressNulls)
withContentInclusion
in class com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer<Optional<?>>
protected boolean _isValuePresent(Optional<?> value)
_isValuePresent
in class com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer<Optional<?>>
protected Object _getReferenced(Optional<?> value)
_getReferenced
in class com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer<Optional<?>>
Copyright © 2017 FasterXML. All rights reserved.