{"StatusID":"1","Error":"Register Successfull."}
Run Code Online (Sandbox Code Playgroud)
这是我的JSONObject我不知道如何将它转换为android中的字符串
请告诉我
谢谢.
获取JSON对象并获取这样的值.
JSONObject jsonObject = new JSONObject(res);
String statusId = jsonObject.getString("StatusID");
String error = jsonObject.getString("Error");
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
194 次 |
| 最近记录: |