public abstract class StdDeserializer<T> extends JsonDeserializer<T> implements java.io.Serializable
JsonDeserializer.None
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
Base implementation that does not assume specific type
inclusion mechanism.
|
java.lang.Class<?> |
getValueClass()
Deprecated.
Since 2.3 use
handledType() instead |
JavaType |
getValueType()
Exact structured type this deserializer handles, if known.
|
java.lang.Class<?> |
handledType()
Method for accessing type of values this deserializer produces.
|
deserialize, deserialize, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
public java.lang.Class<?> handledType()
JsonDeserializer
Default implementation will return null, which means almost same
same as returning Object.class
would; that is, that
nothing is known about handled type.
handledType
in class JsonDeserializer<T>
@Deprecated public final java.lang.Class<?> getValueClass()
handledType()
insteadpublic JavaType getValueType()
Default implementation just returns null.
public java.lang.Object deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) throws java.io.IOException
deserializeWithType
in class JsonDeserializer<T>
typeDeserializer
- Deserializer to use for handling type informationjava.io.IOException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"