로그인
org.json.JSONException: No value for Name
org.json.JSONException: Value status at 0 of the type java.lang.String can not be converted to JSONObject
은 당신이 나를 도와 드릴까요? 감사합니다. . 아래 시도
String test2 = test.execute(restURL).get().toString();
Log.i("result",test2);
JSONObject obj = new JSONObject(test2);
String data = obj.getString("data");
Log.i("testjson",data);
String pageName = obj.getJSONObject("data").getString("Name");
Log.i("testjsondata",pageName);
} catch (InterruptedException e) {
e.printStackTrace();
} catch (ExecutionException e) {
e.printStackTrace();
} catch (JSONException e) {
e.printStackTrace();
}
그렇지
는 귀하의 회신을 지금 각 내 JSON 을 차단할 수 있습니다 주셔서 감사합니다하지만 당신은 "이름" 들으 같은 범주에 데이터 만 가지고 어떻게 할 –