title: Java Array response instead of brackets
body: <p>I am trying to parse a JSON response in Java but am facing difficulty due to the response being array format, not object. I, first, referenced the this <a href="https://stackoverflow.com/questions/18899232/how-to-parse-this-json-response-in-java#">link</a> but couldn't find a solution for parsing the JSON properly. Instead, I am receiving this error when trying to display the parsed data...</p>
  
  <pre><code>Exception in thread "main" org.json.JSONException: JSONObject["cardBackId"] not found.
  </code></pre>
  
  <p>Snippet for displaying data:</p>
  
  <pre><code>JSONObject obj = new JSONObject(response);
  JSONArray cardBackId = (JSONArray) obj.get("cardBackId");
  System.out.println(cardBackId);
  </code></pre>
  
  <p>Data response via Postman:</p>
  
  <pre><code>[
      {
          "cardBackId": "0",
          "name": "Classic",
          "description": "The only card back you'll ever need.",
          "source": "startup",
          "sourceDescription": "Default",
          "enabled": true,
          "img": "http://wow.zamimg.com/images/hearthstone/backs/original/Card_Back_Default.png",
          "imgAnimated": "http://wow.zamimg.com/images/hearthstone/backs/animated/Card_Back_Default.gif",
          "sortCategory": "1",
          "sortOrder": "1",
          "locale": "enUS"
      },
  </code></pre>
  
  <p>While without JSONObject I am pulling the data fine in Java and verified by using response.toString in STDOUT, this is my first time using json library in Java and it is important I parse this data as json. Any advice with this is helpful.</p>