title: Jackson polymorphic type handling - property discarded
body: <p>I have this JSON model class,</p>
  
  <pre><code>public class Response {
  
      @JsonTypeInfo(use= JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.PROPERTY, property="category")
      @JsonSubTypes({
              @Type(value = Series.class, name = "Series"),
              @Type(value = Movies.class, name = "Movies")})
      public static abstract class Asset {
          public String category;
          public String id;
      }
  
      public static class Series extends Asset {
          public String seriesName;
          public int seasonNumber;
      }
  
      public static class Movies extends Asset {
          public String movieName;
      }
  
      public Asset[] assets;
  }
  </code></pre>
  
  <p>When I try to deserialize the following JSON,</p>
  
  <pre><code>{
      assets: [
          {
              "category": "Series",
              "id": "ID1",
              "seriesName": "SeriesName1",
              "seasonNumber": 1
          },
          {
              "category": "Movies",
              "id": "ID2",
              "movieName": "MovieName1"
          }
      ]
  }
  </code></pre>
  
  <p>I see that all the properties are deserialized properly, except the <code>category</code> property, which are <code>null</code> in both asset types.</p>
  
  <p>Am I doing something wrong? Or is this the expected behavior - property that is used to infer subtype is discarded during deserialization?</p>