Package com.bandwidth

Class 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<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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • Rfc8601DateTimeDeserializer

        public Rfc8601DateTimeDeserializer()
    • Method Detail

      • deserialize

        public LocalDateTime deserialize​(com.fasterxml.jackson.core.JsonParser jp,
                                         com.fasterxml.jackson.databind.DeserializationContext ctxt)
                                  throws IOException,
                                         com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<LocalDateTime>
        Throws:
        IOException
        com.fasterxml.jackson.core.JsonProcessingException