How would you extract the data as follows:
I want to extract from this arraylist:
[{itemname=Original, number=12}, {itemname=BBQ, number=23}, {itemname=C
It looks like you want to convert it to Json, using google gson http://code.google.com/p/google-gson/ its very easy
"Provide simple toJson() and fromJson() methods to convert Java objects to JSON and vice-versa"
Here is what I mean :
Gson gson = new Gson();
gson.toJson(map); //where map is your map object