public abstract class ContainerDeserializerBase<T>
extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
Modifier and Type | Field and Description |
---|---|
protected Constructor<T> |
_defaultCtor
We will use the default constructor of the class for
instantiation
|
Modifier | Constructor and Description |
---|---|
protected |
ContainerDeserializerBase(com.fasterxml.jackson.databind.JavaType type,
com.fasterxml.jackson.databind.DeserializationConfig config) |
Modifier and Type | Method and Description |
---|---|
protected T |
createContainerInstance(com.fasterxml.jackson.databind.DeserializationContext ctxt) |
T |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
abstract void |
deserializeContents(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
T container) |
Object |
deserializeWithType(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) |
protected T |
handleNonArray(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected T |
handleSingleAsArray(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
T container) |
_coerceIntegral, _deserializeFromEmpty, _failDoubleToIntCoercion, _hasTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _parseBoolean, _parseBooleanFromOther, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, getValueClass, getValueType, handledType, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
protected final Constructor<T> _defaultCtor
protected ContainerDeserializerBase(com.fasterxml.jackson.databind.JavaType type, com.fasterxml.jackson.databind.DeserializationConfig config)
public Object deserializeWithType(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
deserializeWithType
in class com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
IOException
com.fasterxml.jackson.core.JsonProcessingException
public T deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
deserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<T>
IOException
com.fasterxml.jackson.core.JsonProcessingException
protected T handleNonArray(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOException
com.fasterxml.jackson.core.JsonProcessingException
protected T createContainerInstance(com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOException
com.fasterxml.jackson.core.JsonProcessingException
protected T handleSingleAsArray(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt, T container) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOException
com.fasterxml.jackson.core.JsonProcessingException
public abstract void deserializeContents(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt, T container) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2016 FasterXML. All rights reserved.