public class AsExternalTypeDeserializer extends AsArrayTypeDeserializer
JsonTypeInfo.As.EXTERNAL_PROPERTY
inclusion mechanism.
Actual implementation may look bit strange since it depends on comprehensive
pre-processing done by BeanDeserializer
to basically transform external type id into structure that looks more like
"wrapper-array" style inclusion. This intermediate form is chosen to allow
supporting all possible JSON structures.Modifier and Type | Field | Description |
---|---|---|
protected java.lang.String |
_typePropertyName |
_baseType, _defaultImpl, _defaultImplDeserializer, _deserializers, _idResolver, _property
Constructor | Description |
---|---|
AsExternalTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
BeanProperty property,
java.lang.Class<?> defaultImpl,
java.lang.String typePropName) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getPropertyName() |
Name of property that contains type information, if
property-based inclusion is used.
|
JsonTypeInfo.As |
getTypeInclusion() |
Accessor for type information inclusion method
that deserializer uses; indicates how type information
is (expected to be) embedded in JSON input.
|
_locateTypeId, deserializeTypedFromAny, deserializeTypedFromArray, deserializeTypedFromObject, deserializeTypedFromScalar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_findDefaultImplDeserializer, _findDeserializer, baseTypeName, getDefaultImpl, getTypeIdResolver, toString
public AsExternalTypeDeserializer(JavaType bt, TypeIdResolver idRes, BeanProperty property, java.lang.Class<?> defaultImpl, java.lang.String typePropName)
public JsonTypeInfo.As getTypeInclusion()
TypeDeserializer
getTypeInclusion
in class AsArrayTypeDeserializer
public java.lang.String getPropertyName()
TypeDeserializer
getPropertyName
in class TypeDeserializerBase