title: Java unmarshilling JSON data containg abstract type
body: <p>We are using Jersey/Jackson to unmarshall JSON data to java DTOs. One of my DTO is an abstract class, and i would like to unmarshall the JSON data to one of his extended DTO. For example, assuming i have these DTOs :</p>
  
  <pre><code>public abstract class AnimalDTO{}
  
  public class DogDTO extends AnimalDTO{}
  
  public class CatDTO extends AnimalDTO{}
  </code></pre>
  
  <p>I would like to unmarshall this JSON data:</p>
  
  <pre><code>{Zoo: {Animals:[{"type"="DogDTO", "code"="001", "name"="chihuahua"}, {"type"="CatDTO", "code"="002", "name"="felix"}]}}
  </code></pre>
  
  <p>As "type" would give the type of DTO i would like to unmarshall to. But it seems that this property isn't considered. Is there something I missed, or mistook in the JSON syntax?</p>
  
  <p>Thanks.</p>