Class OptionalDeserializer
- java.lang.Object
-
- org.codehaus.jackson.map.JsonDeserializer<T>
-
- org.codehaus.jackson.map.deser.std.StdDeserializer<T>
-
- org.codehaus.jackson.map.deser.std.ContainerDeserializerBase<Optional>
-
- com.atlassian.confluence.rest.serialization.OptionalDeserializer
-
public class OptionalDeserializer extends org.codehaus.jackson.map.deser.std.ContainerDeserializerBase<Optional>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codehaus.jackson.map.deser.std.StdDeserializer
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 extends Object>, 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 Summary
Constructors Constructor Description OptionalDeserializer(org.codehaus.jackson.map.JsonDeserializer elementDeserializer, org.codehaus.jackson.type.JavaType contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class org.codehaus.jackson.map.deser.std.StdDeserializer
_parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, findDeserializer, getValueClass, getValueType, handleUnknownProperty, isDefaultSerializer, parseDouble, reportUnknownProperty
-
-
-
-
Method Detail
-
deserializeWithType
public Optional deserializeWithType(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt, org.codehaus.jackson.map.TypeDeserializer typeDeserializer) throws IOException
- Overrides:
deserializeWithType
in classorg.codehaus.jackson.map.deser.std.StdDeserializer<Optional>
- Throws:
IOException
-
deserialize
public Optional deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt) throws IOException
- Specified by:
deserialize
in classorg.codehaus.jackson.map.JsonDeserializer<Optional>
- Throws:
IOException
-
getNullValue
public Optional getNullValue()
- Overrides:
getNullValue
in classorg.codehaus.jackson.map.JsonDeserializer<Optional>
-
getContentType
public org.codehaus.jackson.type.JavaType getContentType()
- Specified by:
getContentType
in classorg.codehaus.jackson.map.deser.std.ContainerDeserializerBase<Optional>
-
-