fastJson 解析

String object = JSON.toJSONString(obj);               ------------------obj必须序列化
JSONObject jso=JSONObject.parseObject(object);
//JSONObject jso = JSON.parseObject(object);
JSONArray jsarr=jso.getJSONArray("data");
JSONObject ao=jsarr.getJSONObject(0);
String context=ao.getString("context");
String time=ao.getString("time");

原文地址:https://www.cnblogs.com/xdcr/p/7651279.html