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, toString
deserializeIfNatural, deserializeIfNatural
public AsExternalTypeDeserializer(JavaType bt, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, JavaType defaultImpl)
public AsExternalTypeDeserializer(AsExternalTypeDeserializer src, BeanProperty property)
public TypeDeserializer forProperty(BeanProperty prop)
TypeDeserializer
Collection
or Map
valued properties).forProperty
in class AsArrayTypeDeserializer
public JsonTypeInfo.As getTypeInclusion()
TypeDeserializer
getTypeInclusion
in class AsArrayTypeDeserializer
protected boolean _usesExternalId()
_usesExternalId
in class AsArrayTypeDeserializer
Copyright © 2021 JBoss by Red Hat. All rights reserved.