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._baseType, _defaultImpl, _defaultImplDeserializer, _deserializers, _idResolver, _property, _typeIdVisible, _typePropertyName| Constructor and Description |
|---|
AsExternalTypeDeserializer(AsExternalTypeDeserializer src,
BeanProperty property) |
AsExternalTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
String typePropertyName,
boolean typeIdVisible,
JavaType defaultImpl) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
_usesExternalId() |
TypeDeserializer |
forProperty(BeanProperty prop)
Method called to create contextual version, to be used for
values of given property.
|
JsonTypeInfo.As |
getTypeInclusion()
Accessor for type information inclusion method
that deserializer uses; indicates how type information
is (expected to be) embedded in JSON input.
|
_deserialize, _locateTypeId, deserializeTypedFromAny, deserializeTypedFromArray, deserializeTypedFromObject, deserializeTypedFromScalar_deserializeWithNativeTypeId, _deserializeWithNativeTypeId, _findDefaultImplDeserializer, _findDeserializer, _handleMissingTypeId, _handleUnknownTypeId, baseType, baseTypeName, getDefaultImpl, getPropertyName, getTypeIdResolver, hasDefaultImpl, toStringdeserializeIfNatural, deserializeIfNaturalpublic AsExternalTypeDeserializer(JavaType bt, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, JavaType defaultImpl)
public AsExternalTypeDeserializer(AsExternalTypeDeserializer src, BeanProperty property)
public TypeDeserializer forProperty(BeanProperty prop)
TypeDeserializerCollection or Map
valued properties).forProperty in class AsArrayTypeDeserializerpublic JsonTypeInfo.As getTypeInclusion()
TypeDeserializergetTypeInclusion in class AsArrayTypeDeserializerprotected boolean _usesExternalId()
_usesExternalId in class AsArrayTypeDeserializerCopyright © 2008–2020 FasterXML. All rights reserved.