Class TimeRestrictedAccess.OffsetDateTimeDeserializer

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

    public static class TimeRestrictedAccess.OffsetDateTimeDeserializer
    extends com.fasterxml.jackson.databind.JsonDeserializer<OffsetDateTime>
    Custom deserializer as @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = TIME_PATTERN) is not able to parse the config string ("07:58:13") directly into the format that is currently need (1970-01-01T07:58:13Z)
    • 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
      OffsetDateTime deserialize​(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt)  
      • Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer

        deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
    • Constructor Detail

      • OffsetDateTimeDeserializer

        public OffsetDateTimeDeserializer()
    • Method Detail

      • deserialize

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