Class CustomISO8601LocalDateTimeDeserializer

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.deser.NullValueProvider

    public class CustomISO8601LocalDateTimeDeserializer
    extends com.fasterxml.jackson.databind.JsonDeserializer<java.time.LocalDateTime>
    • 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
      java.time.LocalDateTime deserialize​(com.fasterxml.jackson.core.JsonParser jsonparser, com.fasterxml.jackson.databind.DeserializationContext context)
      The ISO-like date-time formatter that formats or parses a date-time with the offset and zone if available, such as '2011-12-03T10:15:30', '2011-12-03T10:15:30+01:00' or '2011-12-03T10:15:30+01:00[Europe/Paris]'.
      • 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 Detail

      • CustomISO8601LocalDateTimeDeserializer

        public CustomISO8601LocalDateTimeDeserializer()
    • Method Detail

      • deserialize

        public java.time.LocalDateTime deserialize​(com.fasterxml.jackson.core.JsonParser jsonparser,
                                                   com.fasterxml.jackson.databind.DeserializationContext context)
                                            throws java.io.IOException,
                                                   com.fasterxml.jackson.core.JsonProcessingException
        The ISO-like date-time formatter that formats or parses a date-time with the offset and zone if available, such as '2011-12-03T10:15:30', '2011-12-03T10:15:30+01:00' or '2011-12-03T10:15:30+01:00[Europe/Paris]'. (see javadocs for java/time/format/DateTimeFormatter)
        Specified by:
        deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<java.time.LocalDateTime>
        Throws:
        java.io.IOException
        com.fasterxml.jackson.core.JsonProcessingException