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.限定符和类型 | 字段和说明 |
---|---|
protected String |
_typePropertyName |
_baseType, _defaultImpl, _defaultImplDeserializer, _deserializers, _idResolver, _property
构造器和说明 |
---|
AsExternalTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
BeanProperty property,
Class<?> defaultImpl,
String typePropName) |
限定符和类型 | 方法和说明 |
---|---|
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, toString
protected final String _typePropertyName
public AsExternalTypeDeserializer(JavaType bt, TypeIdResolver idRes, BeanProperty property, Class<?> defaultImpl, String typePropName)
public JsonTypeInfo.As getTypeInclusion()
TypeDeserializer
public String getPropertyName()
TypeDeserializer
getPropertyName
在类中 TypeDeserializerBase