Package net.solarnetwork.codec
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
FieldsModifier and TypeFieldDescriptionstatic final com.fasterxml.jackson.databind.JsonDeserializer<LocalTime>A global instance.Fields inherited from class com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase
_formatter, _isLenientFields inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <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 DateTimeException_peelDTE(DateTimeException arg0) 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, withLeniencyMethods inherited from class com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase
_failForNotLenient, _throwNoNumericTimestampNeedTimeZone, createContextual, isLenientMethods inherited from class com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer
deserialize, getEmptyAccessPattern, getNullAccessPattern, supportsUpdateMethods 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, parseDoubleMethods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserializeWithType, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializer
-
Field Details
-
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:
deserializeWithTypein classcom.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
-