Converting json object to json array using org.json.simple
<p>I have one org.json.simple.JSONObject i.e {"2016":</p>

<pre><code>obj =  {"12":{"19":{"12":"{\"DonationTime\":11111111111,\"Donation\":10}"}}}}
</code></pre>

<p>I want to convert to json array like </p>

<pre><code>org.json.simple.JSONArray arr = obj.toJsonArray(obj); //no such method exists
</code></pre>

<p>Is there any method available to convert above object to array.</p>

<p>or do i need to iterate to make it <code>JSONArray</code>.</p>

<p>I am using <code>org.json.simple</code> not <code>org.json</code>.</p>