Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JSON:How to handle JSON response like this?
- [[84,"sinat","qq357068756@163.com"],[88,"msn","qq357068756@hotmail.com"],[89,"163t","qq357068756@hotmail.com"],[90,"mail","qq357068756@hotmail.com"],[93,"mail","qq357068756@163.com"]]
- String json_value = '[[84,"sinat","qq357068756@163.com"],[88,"msn","qq357068756@hotmail.com"],[89,"163t","qq357068756@hotmail.com"],[90,"mail","qq357068756@hotmail.com"],[93,"mail","qq357068756@163.com"]]';
- JSONArray json_array = new JSONArray(json_value);
- for(int i = 0; i < json_array.length(); i++){
- Log.d("Current index: "+i,"Current value: "+json_array.getJSONArray(i).toString());
- }
Add Comment
Please, Sign In to add comment