Package com.bandwidth
Class DateTimeHelper.SimpleDateDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<java.time.LocalDate>
com.bandwidth.DateTimeHelper.SimpleDateDeserializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
- Enclosing class:
- DateTimeHelper
public static class DateTimeHelper.SimpleDateDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<java.time.LocalDate>
A class to handle deserialization of date strings to LocalDate objects
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description SimpleDateDeserializer()
-
Method Summary
Modifier and Type Method Description java.time.LocalDate
deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
SimpleDateDeserializer
public SimpleDateDeserializer()
-
-
Method Details
-
deserialize
public java.time.LocalDate deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws java.io.IOException, com.fasterxml.jackson.core.JsonProcessingException- Specified by:
deserialize
in classcom.fasterxml.jackson.databind.JsonDeserializer<java.time.LocalDate>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonProcessingException
-