Hi I want to parse this json:
[{ \"codError\": 0, \"msg\": \"OK\" }, { \"id\": 1, \"role\": { \"id\": 4, \"name\": \"Super\",
Try out as below:
JSONArray arry=new JSONArray("yourjsonstring"); for(int i=0;i
Hope this helps you.