Class JsonDateUtils.LocalTimeDeserializer

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<LocalTime>
com.fasterxml.jackson.datatype.jsr310.deser.LocalTimeDeserializer
net.solarnetwork.codec.JsonDateUtils.LocalTimeDeserializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.ContextualDeserializer, com.fasterxml.jackson.databind.deser.NullValueProvider, Serializable
Enclosing class:
JsonDateUtils

public static class JsonDateUtils.LocalTimeDeserializer extends com.fasterxml.jackson.datatype.jsr310.deser.LocalTimeDeserializer
LocalTime deserializer that parses using the pattern HH:mm.
Since:
1.2
See Also:
  • Nested Class Summary

    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<LocalTime>
    A global instance.

    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)
     
    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.LocalTimeDeserializer

    deserialize, withDateFormat, withLeniency

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

    _failForNotLenient, _throwNoNumericTimestampNeedTimeZone, createContextual, 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<LocalTime> INSTANCE
      A global instance.
  • Constructor Details

    • LocalTimeDeserializer

      public LocalTimeDeserializer()
      Constructor.
  • Method Details

    • 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)