title: Using Jackson to parse JSON and extract embedded type
body: <p>Say I have a compound JSON object like so:</p>
  
  <pre><code>{
     "Person": {
                 "name":"test",
                 "age": 20
               },
     "Animal": {
                 "name":"Max"
               }
  }
  </code></pre>
  
  <p>This JSON representation has two embedded types <code>Person</code> and <code>Animal</code>, yet, I want to parse and extract a representation of each individual type (resulting in two Strings?).</p>
  
  <p>Is this possible? I was thinking of using <a href="http://jackson.codehaus.org/" rel="nofollow">Jackson</a> but can't find a suitable example.             </p>