title: Parsing JSON in Java Play
body: <p>I have a simple JSON object I wish to parse in Play, I am currently trying the following but having no luck:</p>
  
  <pre><code>    HashMap&lt;String,Object&gt; result = new ObjectMapper().readValue(stringBuilder.toString(), HashMap.class);
  </code></pre>
  
  <p>My JSON Object looks like the following:</p>
  
  <pre><code>[{"id":"537b4f2e30047c51863094dd","from":"jacob","to":"duncan","subject":"Welcome to the message system!","message":"Hello World"},{"id":"537bb23930044f26cfd24464","from":"jacob","to":"duncan","subject":"Welcome to the message system!","message":"Hello World"}]
  </code></pre>
  
  <p>Can anybody provide an example on how to parse and iterate over this?</p>