Package io.apicurio.rest.client.handler
Class RegistryDateDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<Date>
-
- io.apicurio.rest.client.handler.RegistryDateDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class RegistryDateDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<Date>
A custom date deserializer for backwards compatibility. Handles the date formats from 2.3.1.Final and also 2.4.0.Final (where we fixed the server-side date format returned by the API).- Author:
- eric.wittmann@gmail.com
-
-
Constructor Summary
Constructors Constructor Description RegistryDateDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Datedeserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context)-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
Method Detail
-
deserialize
public Date deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) throws IOException, com.fasterxml.jackson.core.JacksonException
- Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<Date>- Throws:
IOExceptioncom.fasterxml.jackson.core.JacksonException- See Also:
JsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext)
-
-