title: Parsing json array without keys in android
body: <p>I can parse this json, stored in a string called json.</p>
  
  <pre><code>{
   "contacts": [
      {
              "id": "c200",
              "name": "Ravi Tamada",
              "email": "ravi@gmail.com",
      },
      {
              "id": "c201",
              "name": "Johnny Depp",
              "email": "johnny_depp@gmail.com",
      }
   ]
  }
  </code></pre>
  
  <p>Using this code in Android:</p>
  
  <pre><code>JSONObject object = new JSONObject(json);
  JSONArray ob = object.getJSONArray("contacts");
  </code></pre>
  
  <p>The thing is that I want to parse the same JSON array but without the key or name "contacts", something like this:</p>
  
  <pre><code>{
   [
      {
              "id": "c200",
              "name": "Ravi Tamada",
              "email": "ravi@gmail.com",
      },
      {
              "id": "c201",
              "name": "Johnny Depp",
              "email": "johnny_depp@gmail.com",
      }
   ]
  }
  </code></pre>
  
  <p>The method <CODE>getJSONArray()</CODE> requires the name of the array, but in this case it does not have one. Is it possible to parse this or is the Json syntax not right?</p>