2017-03-23 1 views

답변

0
JSONObject jsonObjectResponse = new JSONObject(response.toString()); //obtain the object 
JSONArray jsonMainNode = jsonObjectResponse.optJSONArray("studentData");//get array from object 
JSONObject jsonChildNode = jsonMainNode.getJSONObject(0);//get first object in array 
String studentDataValue = jsonChildNode.optString("class");//obtain value from class key 
관련 문제