2013年10月22日 星期二

Java json parser

https://code.google.com/p/json-simple/

example:

JSONObject jsonObj = (JSONObject) JSONValue.parse(json_string);
JSONArray jsonArray = (JSONArray) jsonObj.get("key");