Package com.bandwidth

Class DateTimeHelper.Rfc8601DateTimeDeserializer

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<java.time.LocalDateTime>
com.bandwidth.DateTimeHelper.Rfc8601DateTimeDeserializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
Enclosing class:
DateTimeHelper

public static class DateTimeHelper.Rfc8601DateTimeDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<java.time.LocalDateTime>
A class to handle deserialization of DateTime objects to Rfc8601(Rfc3339) format strings.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer

    com.fasterxml.jackson.databind.JsonDeserializer.None
  • Constructor Summary

    Constructors 
    Constructor Description
    Rfc8601DateTimeDeserializer()  
  • Method Summary

    Modifier and Type Method Description
    java.time.LocalDateTime 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • deserialize

      public java.time.LocalDateTime 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 class com.fasterxml.jackson.databind.JsonDeserializer<java.time.LocalDateTime>
      Throws:
      java.io.IOException
      com.fasterxml.jackson.core.JsonProcessingException