public class YearMonthNumberDeserializer extends com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase<YearMonth>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
_isLenient |
| Modifier | Constructor and Description |
|---|---|
|
YearMonthNumberDeserializer()
NOTE: only
public so that use via annotations (see [modules-java8#202])
is possible |
|
YearMonthNumberDeserializer(DateTimeFormatter formatter)
Instantiates a new Year month number deserializer.
|
protected |
YearMonthNumberDeserializer(YearMonthNumberDeserializer base,
Boolean leniency)
Since 2.11
|
| Modifier and Type | Method and Description |
|---|---|
protected T |
_failForNotLenient(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
com.fasterxml.jackson.core.JsonToken arg2) |
protected T |
_fromEmptyString(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
String arg2) |
protected YearMonth |
_fromString(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
String string0)
From string year month.
|
protected <R> R |
_handleDateTimeException(com.fasterxml.jackson.databind.DeserializationContext arg0,
DateTimeException arg1,
String arg2) |
protected <R> R |
_handleUnexpectedToken(com.fasterxml.jackson.databind.DeserializationContext arg0,
com.fasterxml.jackson.core.JsonParser arg1,
com.fasterxml.jackson.core.JsonToken... arg2) |
protected <R> R |
_handleUnexpectedToken(com.fasterxml.jackson.databind.DeserializationContext arg0,
com.fasterxml.jackson.core.JsonParser arg1,
String arg2,
Object... arg3) |
protected boolean |
_isValidTimestampString(String arg0) |
protected DateTimeException |
_peelDTE(DateTimeException arg0) |
protected <BOGUS> BOGUS |
_reportWrongToken(com.fasterxml.jackson.databind.DeserializationContext arg0,
com.fasterxml.jackson.core.JsonToken arg1,
String arg2) |
protected <BOGUS> BOGUS |
_reportWrongToken(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
com.fasterxml.jackson.core.JsonToken... arg2) |
YearMonth |
deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
protected boolean |
isLenient() |
protected YearMonthNumberDeserializer |
withDateFormat(DateTimeFormatter dtf) |
protected YearMonthNumberDeserializer |
withLeniency(Boolean leniency) |
protected YearMonthNumberDeserializer |
withShape(com.fasterxml.jackson.annotation.JsonFormat.Shape shape) |
_throwNoNumericTimestampNeedTimeZone, _withFormatOverrides, createContextualdeserialize, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate_byteOverflow, _checkBooleanToStringCoercion, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFloatToStringCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkIntToFloatCoercion, _checkIntToStringCoercion, _checkTextualNull, _checkToStringCoercion, _coerceBooleanFromInt, _coercedTypeDesc, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleNestedArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerpublic YearMonthNumberDeserializer()
public so that use via annotations (see [modules-java8#202])
is possiblepublic YearMonthNumberDeserializer(DateTimeFormatter formatter)
formatter - the formatterprotected YearMonthNumberDeserializer(YearMonthNumberDeserializer base, Boolean leniency)
base - the baseleniency - the leniencyprotected YearMonthNumberDeserializer withDateFormat(DateTimeFormatter dtf)
withDateFormat in class com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase<YearMonth>protected YearMonthNumberDeserializer withLeniency(Boolean leniency)
withLeniency in class com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase<YearMonth>protected YearMonthNumberDeserializer withShape(com.fasterxml.jackson.annotation.JsonFormat.Shape shape)
withShape in class com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase<YearMonth>public YearMonth deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) throws IOException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<YearMonth>IOExceptionprotected YearMonth _fromString(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, String string0) throws IOException
p - the pctxt - the ctxtstring0 - the string 0IOException - the io exceptionprotected boolean isLenient()
protected T _fromEmptyString(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
String arg2)
throws IOException
IOExceptionprotected boolean _isValidTimestampString(String arg0)
protected <BOGUS> BOGUS _reportWrongToken(com.fasterxml.jackson.databind.DeserializationContext arg0,
com.fasterxml.jackson.core.JsonToken arg1,
String arg2)
throws IOException
IOExceptionprotected <BOGUS> BOGUS _reportWrongToken(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
com.fasterxml.jackson.core.JsonToken... arg2)
throws IOException
IOExceptionprotected <R> R _handleDateTimeException(com.fasterxml.jackson.databind.DeserializationContext arg0,
DateTimeException arg1,
String arg2)
throws com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.databind.JsonMappingExceptionprotected <R> R _handleUnexpectedToken(com.fasterxml.jackson.databind.DeserializationContext arg0,
com.fasterxml.jackson.core.JsonParser arg1,
String arg2,
Object... arg3)
throws com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.databind.JsonMappingExceptionprotected <R> 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
com.fasterxml.jackson.databind.JsonMappingExceptionprotected T _failForNotLenient(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
com.fasterxml.jackson.core.JsonToken arg2)
throws IOException
IOExceptionprotected DateTimeException _peelDTE(DateTimeException arg0)
Copyright © 2024. All rights reserved.