public class JsonDateDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<Date>
java.util.Date like any other object. Jackson, however, (the
current method) converts the date to "epoch time" (a long representing
milliseconds since January 1, 1970, 00:00:00 GMT). The Jackson approach
isn't that useful, since it becomes hard to detect what is a date. This
class is responsible for telling Jackson to use the former method.| Constructor and Description |
|---|
JsonDateDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
Date |
deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext ctx) |
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, unwrappingDeserializerpublic Date deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctx) throws com.fasterxml.jackson.core.JsonParseException, IOException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<Date>com.fasterxml.jackson.core.JsonParseExceptionIOExceptionCopyright © 2017 Jasig. All Rights Reserved.