2017-03-23 13 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 
関連する問題