当前位置: 代码迷 >> JavaScript >> android > JSon 施用
  详细解决方案

android > JSon 施用

热度:314   发布时间:2013-03-17 13:48:31.0
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

?