Package org.gbif.api.jackson
Class DateSerde.FlexibleDateJsonDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
-
- com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<T>
-
- com.fasterxml.jackson.databind.deser.std.DateDeserializers.DateDeserializer
-
- org.gbif.api.jackson.DateSerde.FlexibleDateJsonDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.ContextualDeserializer
,com.fasterxml.jackson.databind.deser.NullValueProvider
,com.fasterxml.jackson.databind.deser.ValueInstantiator.Gettable
,Serializable
- Enclosing class:
- DateSerde
public static class DateSerde.FlexibleDateJsonDeserializer extends com.fasterxml.jackson.databind.deser.std.DateDeserializers.DateDeserializer
JacksonJsonDeserializer
forDate
s formatted above, falling back to the Jackson way.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlexibleDateJsonDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
-
Methods inherited from class com.fasterxml.jackson.databind.deser.std.DateDeserializers.DateDeserializer
getEmptyValue
-
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer
deserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate
-
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
getValueClass, getValueInstantiator, getValueType, getValueType, handledType
-
-
-
-
Constructor Detail
-
FlexibleDateJsonDeserializer
public FlexibleDateJsonDeserializer()
-
-
Method Detail
-
deserialize
public Date deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
- Overrides:
deserialize
in classcom.fasterxml.jackson.databind.deser.std.DateDeserializers.DateDeserializer
- Throws:
IOException
-
-