title: How do I deserialize a nested JSON array using GSON?
body: <p>Here's an example of my <code>JSON</code>:</p>
  
  <pre><code>{
      "status": "ok",
      "rowCount": 60,
      "pageCount": 6,
      "value": [{
          "CustomerID": 1911,
          "CustomerTypeID": 3,
             ...
           }
         ]
  }
  </code></pre>
  
  <p><strong>My POJO:</strong></p>
  
  <pre><code>@SerializedName("CustomerID")
  public Integer CustomerID;
  
  @SerializedName("CustomerTypeID")
  public Integer CustomerTypeID;
  </code></pre>
  
  <p>I want to pull everything under <code>value</code>.</p>
  
  <p>How do I do this using Google's GSON?</p>
  
  <p>I've tried doing it as I would normally, but for, obvious reasons, it didn't work:</p>
  
  <pre><code>Type collectionType = new TypeToken&lt;ArrayList&lt;Customer&gt;&gt;() {}.getType();
  return gson.fromJson(json, collectionType);
  </code></pre>