title: Parsing a nameless JSON array in Java
body: <p>I'm trying to parse a nameless JSONArray returned from a POST request this format:</p>
  
  <pre><code>[{"key": value},
  {"key": value},
  {"key": value}]
  </code></pre>
  
  <p>I assumed I would just be able to call the array using this segment of code:</p>
  
  <pre><code>JSONArray resArr = result.getJSONArray("");
  </code></pre>
  
  <p>where <code>result</code> is the JSONObject returned by the POST, but I'm getting</p>
  
  <pre><code>Cannot parse json request result: org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  </code></pre>
  
  <p>Is there some other way to call <code>getJSONArray</code> so that I can get an JSONArray without a key?</p>