Class JsonDateUtils.ZonedDateTimeDeserializer

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<T>
com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<T>
com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase<T>
com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer<ZonedDateTime>
net.solarnetwork.codec.JsonDateUtils.ZonedDateTimeDeserializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.ContextualDeserializer, com.fasterxml.jackson.databind.deser.NullValueProvider, Serializable
Enclosing class:
JsonDateUtils

public static class JsonDateUtils.ZonedDateTimeDeserializer extends com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer<ZonedDateTime>
ZonedDateTime deserializer that parses using a space or T date/time separator.
Since:
1.1
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer

    com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer.FromDecimalArguments, com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer.FromIntegerArguments

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

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

    Fields
    Modifier and Type
    Field
    Description
    static final com.fasterxml.jackson.databind.JsonDeserializer<ZonedDateTime>
    A global instance.

    Fields inherited from class com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer

    _adjustToContextTZOverride, adjust, fromMilliseconds, fromNanoseconds, INSTANT, OFFSET_DATE_TIME, parsedToValue, replaceZeroOffsetAsZ, ZONED_DATE_TIME

    Fields inherited from class com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase

    _formatter, _isLenient

    Fields inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer

    _valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <R extends Object>
    R
    _handleDateTimeException(com.fasterxml.jackson.databind.DeserializationContext arg0, DateTimeException arg1, String arg2)
     
    protected <R extends Object>
    R
    _handleUnexpectedToken(com.fasterxml.jackson.databind.DeserializationContext arg0, com.fasterxml.jackson.core.JsonParser arg1, com.fasterxml.jackson.core.JsonToken... arg2)
     
    protected <R extends Object>
    R
    _handleUnexpectedToken(com.fasterxml.jackson.databind.DeserializationContext arg0, com.fasterxml.jackson.core.JsonParser arg1, String arg2, Object... arg3)
     
     
    protected <BOGUS extends Object>
    BOGUS
    _reportWrongToken(com.fasterxml.jackson.core.JsonParser arg0, com.fasterxml.jackson.databind.DeserializationContext arg1, com.fasterxml.jackson.core.JsonToken... arg2)
     
    protected <BOGUS extends Object>
    BOGUS
    _reportWrongToken(com.fasterxml.jackson.databind.DeserializationContext arg0, com.fasterxml.jackson.core.JsonToken arg1, String arg2)
     
    deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context)
     
    deserializeWithType(com.fasterxml.jackson.core.JsonParser arg0, com.fasterxml.jackson.databind.DeserializationContext arg1, com.fasterxml.jackson.databind.jsontype.TypeDeserializer arg2)
     

    Methods inherited from class com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer

    _countPeriods, _fromDecimal, _fromLong, createContextual, shouldAdjustToContextTimezone, withDateFormat, withLeniency

    Methods inherited from class com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase

    _failForNotLenient, _throwNoNumericTimestampNeedTimeZone, isLenient

    Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer

    deserialize, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate

    Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer

    _byteOverflow, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeWrappedValue, _failDoubleToIntCoercion, _findNullProvider, _hasTextualNull, _intOverflow, _isEmptyOrTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _neitherNull, _nonNullNumber, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseIntPrimitive, _parseIntPrimitive, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble

    Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer

    deserializeWithType, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializer

    Methods inherited from class java.lang.Object

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

    • INSTANCE

      public static final com.fasterxml.jackson.databind.JsonDeserializer<ZonedDateTime> INSTANCE
      A global instance.
  • Constructor Details

    • ZonedDateTimeDeserializer

      public ZonedDateTimeDeserializer()
      Constructor.
  • Method Details

    • deserialize

      public ZonedDateTime deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) throws IOException
      Overrides:
      deserialize in class com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer<ZonedDateTime>
      Throws:
      IOException
    • deserializeWithType

      public Object deserializeWithType(com.fasterxml.jackson.core.JsonParser arg0, com.fasterxml.jackson.databind.DeserializationContext arg1, com.fasterxml.jackson.databind.jsontype.TypeDeserializer arg2) throws IOException
      Overrides:
      deserializeWithType in class com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<T extends Object>
      Throws:
      IOException
    • _reportWrongToken

      protected <BOGUS extends Object> BOGUS _reportWrongToken(com.fasterxml.jackson.databind.DeserializationContext arg0, com.fasterxml.jackson.core.JsonToken arg1, String arg2) throws IOException
      Throws:
      IOException
    • _reportWrongToken

      protected <BOGUS extends Object> BOGUS _reportWrongToken(com.fasterxml.jackson.core.JsonParser arg0, com.fasterxml.jackson.databind.DeserializationContext arg1, com.fasterxml.jackson.core.JsonToken... arg2) throws IOException
      Throws:
      IOException
    • _handleDateTimeException

      protected <R extends Object> R _handleDateTimeException(com.fasterxml.jackson.databind.DeserializationContext arg0, DateTimeException arg1, String arg2) throws com.fasterxml.jackson.databind.JsonMappingException
      Throws:
      com.fasterxml.jackson.databind.JsonMappingException
    • _handleUnexpectedToken

      protected <R extends Object> R _handleUnexpectedToken(com.fasterxml.jackson.databind.DeserializationContext arg0, com.fasterxml.jackson.core.JsonParser arg1, String arg2, Object... arg3) throws com.fasterxml.jackson.databind.JsonMappingException
      Throws:
      com.fasterxml.jackson.databind.JsonMappingException
    • _handleUnexpectedToken

      protected <R extends Object> R _handleUnexpectedToken(com.fasterxml.jackson.databind.DeserializationContext arg0, com.fasterxml.jackson.core.JsonParser arg1, com.fasterxml.jackson.core.JsonToken... arg2) throws com.fasterxml.jackson.databind.JsonMappingException
      Throws:
      com.fasterxml.jackson.databind.JsonMappingException
    • _peelDTE

      protected DateTimeException _peelDTE(DateTimeException arg0)