public class OptionalDeserializer extends org.codehaus.jackson.map.deser.std.ContainerDeserializerBase<Optional>
org.codehaus.jackson.map.deser.std.StdDeserializer.BigDecimalDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.BigIntegerDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.BooleanDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.ByteDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.CharacterDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.DoubleDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.FloatDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.IntegerDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.LongDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.NumberDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.PrimitiveOrWrapperDeserializer<T>, org.codehaus.jackson.map.deser.std.StdDeserializer.ShortDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.SqlDateDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.StackTraceElementDeserializer
Constructor and Description |
---|
OptionalDeserializer(org.codehaus.jackson.map.JsonDeserializer elementDeserializer,
org.codehaus.jackson.type.JavaType contentType) |
Modifier and Type | Method and Description |
---|---|
Optional |
deserialize(org.codehaus.jackson.JsonParser jp,
org.codehaus.jackson.map.DeserializationContext ctxt) |
Optional |
deserializeWithType(org.codehaus.jackson.JsonParser jp,
org.codehaus.jackson.map.DeserializationContext ctxt,
org.codehaus.jackson.map.TypeDeserializer typeDeserializer) |
org.codehaus.jackson.map.JsonDeserializer<Object> |
getContentDeserializer() |
org.codehaus.jackson.type.JavaType |
getContentType() |
Optional |
getNullValue() |
_parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, findDeserializer, getValueClass, getValueType, handleUnknownProperty, isDefaultSerializer, parseDouble, reportUnknownProperty
public OptionalDeserializer(org.codehaus.jackson.map.JsonDeserializer elementDeserializer, org.codehaus.jackson.type.JavaType contentType)
public Optional deserializeWithType(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt, org.codehaus.jackson.map.TypeDeserializer typeDeserializer) throws IOException
deserializeWithType
in class org.codehaus.jackson.map.deser.std.StdDeserializer<Optional>
IOException
public Optional deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt) throws IOException
deserialize
in class org.codehaus.jackson.map.JsonDeserializer<Optional>
IOException
public Optional getNullValue()
getNullValue
in class org.codehaus.jackson.map.JsonDeserializer<Optional>
public org.codehaus.jackson.type.JavaType getContentType()
getContentType
in class org.codehaus.jackson.map.deser.std.ContainerDeserializerBase<Optional>
Copyright © 2003–2021 Atlassian. All rights reserved.