title: How can I use GSON to parse and place into a list of objects?
body: <p>I have a domain object Foo, and I want to parse some JSON such as</p>
  <pre><code>[
      {&quot;prop&quot;: &quot;val&quot;},
      {&quot;prop&quot;: &quot;val2&quot;},
  ]
  </code></pre>
  <p>I want to get a <code>List&lt;Foo&gt;</code>. Something like this</p>
  <pre><code>List&lt;Foo&gt; foos = new Gson().fromJson(json, /*what goes here ?*/);
  </code></pre>