title: How can I turn a JSONArray into a JSONObject?
body: <p>Basically I have:</p>
  
  <pre><code>JSONArray j = new JSONArray();
  j.add(new JSONObject()); //JSONObject has a bunch of data in it
  j.add(new JSONArray());  //JSONArray has a bunch of data in it
  </code></pre>
  
  <p>And now I would like to turn that <code>JSONArray</code> into a <code>JSONObject</code> with the same information in it.  So that I can pass around the Object and then when I want I can grab all the information out of the object.  Any help would be appreciated, Thanks.</p>