?
String json = "{name='json',age:33}"; jsonObject = new JSONObject(json); System.out.println(jsonObject.get("name")); System.out.println(jsonObject.get("age"));
?
output:
json
33
?
日期:2014-05-16 浏览次数:20366 次
?
String json = "{name='json',age:33}"; jsonObject = new JSONObject(json); System.out.println(jsonObject.get("name")); System.out.println(jsonObject.get("age"));
?
output:
json
33
?