public class JSR310StringParsableDeserializer
extends com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<T>
java.time types that cannot be represented
with numbers and that have parse functions that can take Strings,
and where format is not configurable.| Modifier and Type | Field and Description |
|---|---|
protected int |
_valueType |
static com.fasterxml.jackson.databind.JsonDeserializer<Period> |
PERIOD |
protected static int |
TYPE_PERIOD |
protected static int |
TYPE_ZONE_ID |
protected static int |
TYPE_ZONE_OFFSET |
static com.fasterxml.jackson.databind.JsonDeserializer<ZoneId> |
ZONE_ID |
static com.fasterxml.jackson.databind.JsonDeserializer<ZoneOffset> |
ZONE_OFFSET |
| Modifier | Constructor and Description |
|---|---|
protected |
JSR310StringParsableDeserializer(Class<?> supportedType,
int valueId) |
| Modifier and Type | Method and Description |
|---|---|
protected DateTimeException |
_peelDTE(DateTimeException e)
Helper method used to peel off spurious wrappings of DateTimeException
|
protected <BOGUS> BOGUS |
_reportWrongToken(com.fasterxml.jackson.databind.DeserializationContext context,
com.fasterxml.jackson.core.JsonToken exp,
String unit) |
protected <BOGUS> BOGUS |
_reportWrongToken(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context,
com.fasterxml.jackson.core.JsonToken... expTypes) |
protected <BOGUS> BOGUS |
_rethrowDateTimeException(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext context,
DateTimeException e0,
String value) |
protected static <T> com.fasterxml.jackson.databind.JsonDeserializer<T> |
createDeserializer(Class<T> type,
int typeId) |
Object |
deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
Object |
deserializeWithType(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer deserializer) |
deserialize, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate_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, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDoubleprotected static final int TYPE_PERIOD
protected static final int TYPE_ZONE_ID
protected static final int TYPE_ZONE_OFFSET
public static final com.fasterxml.jackson.databind.JsonDeserializer<Period> PERIOD
public static final com.fasterxml.jackson.databind.JsonDeserializer<ZoneId> ZONE_ID
public static final com.fasterxml.jackson.databind.JsonDeserializer<ZoneOffset> ZONE_OFFSET
protected final int _valueType
protected JSR310StringParsableDeserializer(Class<?> supportedType, int valueId)
protected static <T> com.fasterxml.jackson.databind.JsonDeserializer<T> createDeserializer(Class<T> type, int typeId)
public Object deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) throws IOException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<Object>IOExceptionpublic Object deserializeWithType(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context, com.fasterxml.jackson.databind.jsontype.TypeDeserializer deserializer) throws IOException
IOExceptionprotected <BOGUS> BOGUS _reportWrongToken(com.fasterxml.jackson.databind.DeserializationContext context,
com.fasterxml.jackson.core.JsonToken exp,
String unit)
throws IOException
IOExceptionprotected <BOGUS> BOGUS _reportWrongToken(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context,
com.fasterxml.jackson.core.JsonToken... expTypes)
throws IOException
IOExceptionprotected <BOGUS> BOGUS _rethrowDateTimeException(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext context,
DateTimeException e0,
String value)
throws com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.databind.JsonMappingExceptionprotected DateTimeException _peelDTE(DateTimeException e)
e - DateTimeException to peelCopyright © 2018 FasterXML. All rights reserved.