title: org.json.JSONObject constructor not accepting what appears to be a valid JSON string
body: <p>I have a <code>string</code> in an <code>Android</code> app that I am trying to convert into a <code>JSONObject</code>. The <code>string</code> looks like this (except longer and with actual values instead of the dummy values I entered here):</p>
  
  <pre><code>[[{"1":"a"}],[{"1a":"1a","1b":"1b"},{"2a":"2a","2b":"2b"}]]
  </code></pre>
  
  <p>I have entered this exact <code>string</code> into two online <code>JSON validator</code>s, and both of them confirm it to be valid <code>JSON data</code>. So I would assume that the <code>JSONObject</code> constructor would be able to accept this string and convert it into a <code>JSONObject</code>. But when I try:</p>
  
  <pre><code>json = new JSONObject(result);
  </code></pre>
  
  <p>Where "result" is a String variable containing the string listed above, I get the following exception:</p>
  
  <pre><code>JSONException: A JSONObject text must begin with '{' at character 1 of [[{"1":"a"}],[{"1a":"1a","1b":"1b"},{"2a":"2a","2b":"2b"}]]
  </code></pre>
  
  <p>What's going on here? Is the <code>JSONObject</code>'s parser broken?</p>