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.| 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 |
|---|---|
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.
|
deserializeTypedFromAny, deserializeTypedFromArray, deserializeTypedFromObject, deserializeTypedFromScalarbaseType, baseTypeName, getDefaultImpl, getPropertyName, getTypeIdResolver, 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 AsArrayTypeDeserializerCopyright © 2010 - 2020 Adobe. All Rights Reserved