//获取json数组
JSONObject json=new JSONObject();
JSONArray wordArray = JSONArray.fromObject(json.fromObject(date).get("word"));
for (int i=0;i<wordArray.size();i++){
JSONObject object=wordArray.getJSONObject(i);
object.getInt("word_id");
}
public static Object[] getJsonToArray(String str) { JSONArray jsonArray = JSONArray.fromObject(str); return jsonArray.toArray(); }