public abstract class GuavaCollectionDeserializer<T>
extends com.fasterxml.jackson.databind.deser.std.ContainerDeserializerBase<T>
implements com.fasterxml.jackson.databind.deser.ContextualDeserializer
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.JsonDeserializer<?> |
_valueDeserializer
Deserializer used for values contained in collection being deserialized;
either assigned on constructor, or during resolve().
|
protected com.fasterxml.jackson.databind.jsontype.TypeDeserializer |
_valueTypeDeserializer
If value instances have polymorphic type information, this
is the type deserializer that can deserialize required type
information
|
| Modifier | Constructor and Description |
|---|---|
protected |
GuavaCollectionDeserializer(com.fasterxml.jackson.databind.JavaType selfType,
com.fasterxml.jackson.databind.JsonDeserializer<?> deser,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser,
com.fasterxml.jackson.databind.deser.NullValueProvider nuller,
Boolean unwrapSingle) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
_createEmpty(com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected abstract T |
_createWithSingleElement(com.fasterxml.jackson.databind.DeserializationContext ctxt,
Object value) |
protected abstract T |
_deserializeContents(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected T |
_deserializeFromSingleValue(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
Method used to support implicit coercion from a single non-array value
into single-element collection.
|
com.fasterxml.jackson.databind.JsonDeserializer<?> |
createContextual(com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.BeanProperty property)
Method called to finalize setup of this deserializer,
after deserializer itself has been registered.
|
T |
deserialize(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
Object |
deserializeWithType(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer)
Base implementation that does not assume specific type
inclusion mechanism.
|
com.fasterxml.jackson.databind.JsonDeserializer<Object> |
getContentDeserializer() |
abstract com.fasterxml.jackson.databind.util.AccessPattern |
getEmptyAccessPattern() |
abstract Object |
getEmptyValue(com.fasterxml.jackson.databind.DeserializationContext ctxt) |
abstract GuavaCollectionDeserializer<T> |
withResolved(com.fasterxml.jackson.databind.JsonDeserializer<?> valueDeser,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser,
com.fasterxml.jackson.databind.deser.NullValueProvider nuller,
Boolean unwrapSingle)
Overridable fluent factory method used for creating contextual
instances.
|
findBackReference, getContentType, getValueInstantiator, getValueType, supportsUpdate, wrapAndThrow_byteOverflow, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeWrappedValue, _failDoubleToIntCoercion, _findNullProvider, _hasTextualNull, _intOverflow, _isEmptyOrTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _neitherNull, _nonNullNumber, _parseBooleanFromInt, _parseBooleanPrimitive, _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 final com.fasterxml.jackson.databind.JsonDeserializer<?> _valueDeserializer
protected final com.fasterxml.jackson.databind.jsontype.TypeDeserializer _valueTypeDeserializer
protected GuavaCollectionDeserializer(com.fasterxml.jackson.databind.JavaType selfType,
com.fasterxml.jackson.databind.JsonDeserializer<?> deser,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser,
com.fasterxml.jackson.databind.deser.NullValueProvider nuller,
Boolean unwrapSingle)
public abstract GuavaCollectionDeserializer<T> withResolved(com.fasterxml.jackson.databind.JsonDeserializer<?> valueDeser, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser, com.fasterxml.jackson.databind.deser.NullValueProvider nuller, Boolean unwrapSingle)
public com.fasterxml.jackson.databind.JsonDeserializer<?> createContextual(com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.BeanProperty property)
throws com.fasterxml.jackson.databind.JsonMappingException
createContextual in interface com.fasterxml.jackson.databind.deser.ContextualDeserializercom.fasterxml.jackson.databind.JsonMappingExceptionpublic com.fasterxml.jackson.databind.JsonDeserializer<Object> getContentDeserializer()
getContentDeserializer in class com.fasterxml.jackson.databind.deser.std.ContainerDeserializerBase<T>public Object deserializeWithType(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) throws IOException
deserializeWithType in class com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>IOExceptionpublic T deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T>IOExceptionpublic abstract com.fasterxml.jackson.databind.util.AccessPattern getEmptyAccessPattern()
getEmptyAccessPattern in class com.fasterxml.jackson.databind.deser.std.ContainerDeserializerBase<T>public abstract Object getEmptyValue(com.fasterxml.jackson.databind.DeserializationContext ctxt) throws com.fasterxml.jackson.databind.JsonMappingException
getEmptyValue in class com.fasterxml.jackson.databind.deser.std.ContainerDeserializerBase<T>com.fasterxml.jackson.databind.JsonMappingExceptionprotected abstract T _deserializeContents(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
IOExceptionprotected T _deserializeFromSingleValue(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionprotected abstract T _createEmpty(com.fasterxml.jackson.databind.DeserializationContext ctxt)
protected abstract T _createWithSingleElement(com.fasterxml.jackson.databind.DeserializationContext ctxt, Object value) throws IOException
IOExceptionCopyright © 2020 FasterXML. All rights reserved.