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 and Description |
|---|---|
protected String |
_typePropertyName |
_baseType, _defaultImpl, _defaultImplDeserializer, _deserializers, _idResolver, _property| Constructor and Description |
|---|
AsExternalTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
BeanProperty property,
Class<?> defaultImpl,
String typePropName) |
| Modifier and Type | Method and Description |
|---|---|
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_findDefaultImplDeserializer, _findDeserializer, baseTypeName, getDefaultImpl, getTypeIdResolver, toStringprotected final String _typePropertyName
public AsExternalTypeDeserializer(JavaType bt, TypeIdResolver idRes, BeanProperty property, Class<?> defaultImpl, String typePropName)
public JsonTypeInfo.As getTypeInclusion()
TypeDeserializergetTypeInclusion in class AsArrayTypeDeserializerpublic String getPropertyName()
TypeDeserializergetPropertyName in class TypeDeserializerBase