title: Parse to a Subclass by default with Jackson
body: <p>I have a class called Product and some subclasses extending it. Now in my annotations I have many types, like this:</p>
  
  <pre><code>@JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.WRAPPER_OBJECT)
  @JsonSubTypes({@Type(value=RoomProduct.class, name="RoomProduct"),
             @Type(value=GroundProduct.class, name="GroundProduct"),
             })
  </code></pre>
  
  <p>And then the definition of my Product class. What I want to do is if Jackson cannot detect that the field is not complying with any of these structures, to return an </p>
  
  <blockquote>
    <p>UnknownProduct</p>
  </blockquote>
  
  <p>How can I do that with Jackson @Type annotation? It should be something like putting blank in name or some flag in value which I don't really know (I have tried creating the UnknownProduct which extends Product and putting nothing in the name value with no success.</p>