Class AsExternalTypeDeserializer


  • public class AsExternalTypeDeserializer
    extends AsArrayTypeDeserializer
    Type deserializer used with 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.
    Since:
    1.9
    • Field Detail

      • _typePropertyName

        protected final java.lang.String _typePropertyName
    • Constructor Detail

      • AsExternalTypeDeserializer

        public AsExternalTypeDeserializer​(JavaType bt,
                                          TypeIdResolver idRes,
                                          BeanProperty property,
                                          java.lang.Class<?> defaultImpl,
                                          java.lang.String typePropName)