JSONObject to ArrayList?
<p>I have Create Json object like this,</p>

<pre><code>static ArrayList&lt;item&gt; list = new ArrayList&lt;item&gt;();

static {

        item dessertsItem1 = new item("name","address", "id","phone number");
        item dessertsItem2 = new item("name","address", "id","phone number");
        item dessertsItem3 = new item("name","address", "id","phone number");
}

                list.add(dessertsItem1);
        list.add(dessertsItem2);
        list.add(dessertsItem3);

public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        parse();

    }

    private void parse() {
        // TODO Auto-generated method stub

        try {

            JSONObject responseObj = new JSONObject();
            for (item items : list) {

                JSONObject productObj = new JSONObject();
                productObj.put("ItemName", items.getName());
                productObj.put("ItemId", items.getId());
                productObj.put("ItemDescription", items.getDescription());
                productObj.put("ItemPrice", items.getPrice());

                Log.d("RESPONSE OBJECTS&gt;", "the response objects are"
                        + responseObj + "\n" + productObj);
                jarray.put(productObj);
                Log.d("%%%%", "the json array is " + jarray);

            }

            responseObj.put("Desserts", jarray);
}
</code></pre>

<p>created JSONObject.How to conver JSonObjet to ArrayList.
Pls hlep me`</p>
