`

android > JSon 使用

 
阅读更多

 

		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

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics