Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Object result = enevlope.getResponse();
- JSONArray jsonarr = new JSONArray(result.toString());
- for (int i = 0; i < jsonarr.length(); i++) {
- JSONObject jsonobj = jsonarr.getJSONObject(i);
- String Id = jsonobj.get("id").toString());
- String Name = jsonobj.get("name").toString());
- }
Advertisement
Add Comment
Please, Sign In to add comment