Serializable
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 | Description |
---|---|
AsExternalTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
String typePropertyName,
boolean typeIdVisible,
JavaType defaultImpl) |
|
AsExternalTypeDeserializer(AsExternalTypeDeserializer src,
BeanProperty property) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
_usesExternalId() |
|
TypeDeserializer |
forProperty(BeanProperty prop) |
Method called to create contextual version, to be used for
values of given property.
|
com.fasterxml.jackson.annotation.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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
deserializeIfNatural, deserializeIfNatural
_deserializeWithNativeTypeId, _deserializeWithNativeTypeId, _findDefaultImplDeserializer, _findDeserializer, _handleMissingTypeId, _handleUnknownTypeId, baseType, baseTypeName, getDefaultImpl, getPropertyName, getTypeIdResolver, toString
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 com.fasterxml.jackson.annotation.JsonTypeInfo.As getTypeInclusion()
TypeDeserializer
getTypeInclusion
in class AsArrayTypeDeserializer
protected boolean _usesExternalId()
_usesExternalId
in class AsArrayTypeDeserializer
Copyright © 2008–2018. All rights reserved.