Class MongoJackInstantDeserializer
java.lang.Object
- All Implemented Interfaces:
tools.jackson.databind.deser.NullValueProvider, tools.jackson.databind.deser.ValueInstantiator.Gettable
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ext.javatime.deser.InstantDeserializer
tools.jackson.databind.ext.javatime.deser.InstantDeserializer.FromDecimalArguments, tools.jackson.databind.ext.javatime.deser.InstantDeserializer.FromIntegerArgumentsNested classes/interfaces inherited from class tools.jackson.databind.ValueDeserializer
tools.jackson.databind.ValueDeserializer.None -
Field Summary
FieldsFields inherited from class tools.jackson.databind.ext.javatime.deser.InstantDeserializer
_adjustToContextTZOverride, _readTimestampsAsNanosOverride, adjust, fromMilliseconds, fromNanoseconds, INSTANT, ISO8601_COLONLESS_OFFSET_REGEX, OFFSET_DATE_TIME, parsedToValue, replaceZeroOffsetAsZ, ZONED_DATE_TIMEFields inherited from class tools.jackson.databind.ext.javatime.deser.JSR310DateTimeDeserializerBase
_formatter, _shapeFields inherited from class tools.jackson.databind.deser.std.StdDeserializer
_valueClass, _valueType, F_MASK_INT_COERCIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Instant_failForNotLenient(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.core.JsonToken arg2) protected static Boolean_findReadTimestampsAsNanosOverride(com.fasterxml.jackson.annotation.JsonFormat.Value arg0) protected Instant_fromEmptyString(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, String arg2) protected <R> R_handleDateTimeException(tools.jackson.databind.DeserializationContext arg0, DateTimeException arg1, String arg2) protected <R> R_handleDateTimeFormatException(tools.jackson.databind.DeserializationContext arg0, DateTimeException arg1, DateTimeFormatter arg2, String arg3) protected <R> R_handleUnexpectedToken(tools.jackson.databind.DeserializationContext arg0, tools.jackson.core.JsonParser arg1, String arg2, Object... arg3) protected <R> R_handleUnexpectedToken(tools.jackson.databind.DeserializationContext arg0, tools.jackson.core.JsonParser arg1, tools.jackson.core.JsonToken... arg2) protected booleanprotected DateTimeException_peelDTE(DateTimeException arg0) protected <BOGUS> BOGUS_reportWrongToken(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.core.JsonToken... arg2) protected <BOGUS> BOGUS_reportWrongToken(tools.jackson.databind.DeserializationContext arg0, tools.jackson.core.JsonToken arg1, String arg2) deserialize(tools.jackson.core.JsonParser parser, tools.jackson.databind.DeserializationContext context) deserializeWithType(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.databind.jsontype.TypeDeserializer arg2) protected booleantools.jackson.databind.type.LogicalTypeMethods inherited from class tools.jackson.databind.ext.javatime.deser.InstantDeserializer
_countPeriods, _fromDecimal, _fromLong, _fromString, _truncateToMillis, _withFormatOverrides, shouldAdjustToContextTimezone, shouldReadTimestampsAsNanoseconds, withDateFormat, withLeniencyMethods inherited from class tools.jackson.databind.ext.javatime.deser.JSR310DateTimeDeserializerBase
_acceptCaseInsensitiveValues, _throwNoNumericTimestampNeedTimeZone, createContextual, withShapeMethods inherited from class tools.jackson.databind.deser.std.StdScalarDeserializer
deserialize, getEmptyAccessPattern, getNullAccessPattern, supportsUpdateMethods inherited from class tools.jackson.databind.deser.std.StdDeserializer
_byteOverflow, _checkBooleanToStringCoercion, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFloatToStringCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkIntToFloatCoercion, _checkIntToStringCoercion, _checkTextualNull, _checkToStringCoercion, _coerceBooleanFromInt, _coercedTypeDesc, _coercedTypeDesc, _coerceIntegral, _deserializeFromArray, _deserializeFromEmptyString, _deserializeFromString, _deserializeFromStringForContainer, _deserializeWrappedValue, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _handleUnexpectedBooleanPrimitive, _handleUnexpectedNumberPrimitive, _hasTextualNull, _intOverflow, _isBlank, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _nonNullNumberFromHandler, _parseBoolean, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _streamReadConstraints, _validateTimestampLength, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitive, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _wrapIOFailure, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatFeature, findFormatOverrides, findFormatOverrides, findValueNullProvider, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleNestedArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerMethods inherited from class tools.jackson.databind.ValueDeserializer
collectAllPropertyNamesTo, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, hasAnySetter, isCachable, replaceDelegatee, resolve, unwrappingDeserializer
-
Field Details
-
_isLenient
protected final boolean _isLenient
-
-
Constructor Details
-
MongoJackInstantDeserializer
public MongoJackInstantDeserializer()
-
-
Method Details
-
deserialize
public Instant deserialize(tools.jackson.core.JsonParser parser, tools.jackson.databind.DeserializationContext context) throws tools.jackson.core.JacksonException - Overrides:
deserializein classtools.jackson.databind.ext.javatime.deser.InstantDeserializer<Instant>- Throws:
tools.jackson.core.JacksonException
-
_findReadTimestampsAsNanosOverride
protected static Boolean _findReadTimestampsAsNanosOverride(com.fasterxml.jackson.annotation.JsonFormat.Value arg0) -
isLenient
protected boolean isLenient() -
_fromEmptyString
-
logicalType
public tools.jackson.databind.type.LogicalType logicalType()- Overrides:
logicalTypein classtools.jackson.databind.deser.std.StdScalarDeserializer<T>
-
deserializeWithType
public Object deserializeWithType(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.databind.jsontype.TypeDeserializer arg2) throws tools.jackson.core.JacksonException - Overrides:
deserializeWithTypein classtools.jackson.databind.deser.std.StdScalarDeserializer<T>- Throws:
tools.jackson.core.JacksonException
-
_isValidTimestampString
-
_reportWrongToken
protected <BOGUS> BOGUS _reportWrongToken(tools.jackson.databind.DeserializationContext arg0, tools.jackson.core.JsonToken arg1, String arg2) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_reportWrongToken
protected <BOGUS> BOGUS _reportWrongToken(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.core.JsonToken... arg2) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_handleDateTimeException
protected <R> R _handleDateTimeException(tools.jackson.databind.DeserializationContext arg0, DateTimeException arg1, String arg2) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_handleDateTimeFormatException
protected <R> R _handleDateTimeFormatException(tools.jackson.databind.DeserializationContext arg0, DateTimeException arg1, DateTimeFormatter arg2, String arg3) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_handleUnexpectedToken
-
_handleUnexpectedToken
protected <R> R _handleUnexpectedToken(tools.jackson.databind.DeserializationContext arg0, tools.jackson.core.JsonParser arg1, tools.jackson.core.JsonToken... arg2) -
_failForNotLenient
protected Instant _failForNotLenient(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.core.JsonToken arg2) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_peelDTE
-