Class OdooDateDeserializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider,com.fasterxml.jackson.databind.deser.ValueInstantiator.Gettable,Serializable
public class OdooDateDeserializer
extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<Date>
Custom deserializer for date (when null a Boolean is returned by Odoo)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
com.fasterxml.jackson.databind.JsonDeserializer.None -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
deserializeWithType, getValueClass, getValueInstantiator, getValueType, getValueType, handledTypeMethods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Field Details
-
DEFAULT_DATE_FORMAT
Default DateFormat used By Odoo- See Also:
-
-
Constructor Details
-
OdooDateDeserializer
public OdooDateDeserializer()Default constructor
-
-
Method Details
-
deserialize
public Date deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException - Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<Date>- Throws:
IOException
-