Class AsPropertyTypeDeserializer

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AsDeductionTypeDeserializer

public class AsPropertyTypeDeserializer extends AsArrayTypeDeserializer
Type deserializer used with JsonTypeInfo.As.PROPERTY inclusion mechanism. Uses regular form (additional key/value entry before actual data) when typed object is expressed as JSON Object; otherwise behaves similar to how JsonTypeInfo.As.WRAPPER_ARRAY works. Latter is used if JSON representation is polymorphic
See Also:
  • Field Details

    • _inclusion

      protected final com.fasterxml.jackson.annotation.JsonTypeInfo.As _inclusion
    • _strictTypeIdHandling

      protected final boolean _strictTypeIdHandling
      Indicates that we should be strict about handling missing type information.
      Since:
      2.15
    • _msgForMissingId

      protected final String _msgForMissingId
  • Constructor Details

    • AsPropertyTypeDeserializer

      @Deprecated public AsPropertyTypeDeserializer(JavaType bt, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, JavaType defaultImpl)
      Deprecated.
      Since 2.15 (not used)
      Since:
      2.8
    • AsPropertyTypeDeserializer

      @Deprecated public AsPropertyTypeDeserializer(JavaType bt, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, JavaType defaultImpl, com.fasterxml.jackson.annotation.JsonTypeInfo.As inclusion)
      Deprecated.
      Since 2.15 (not used)
      Since:
      2.8
    • AsPropertyTypeDeserializer

      public AsPropertyTypeDeserializer(AsPropertyTypeDeserializer src, BeanProperty property)
    • AsPropertyTypeDeserializer

      public AsPropertyTypeDeserializer(JavaType bt, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, JavaType defaultImpl, com.fasterxml.jackson.annotation.JsonTypeInfo.As inclusion, boolean strictTypeIdHandling)
      Since:
      2.15
  • Method Details