解析 jsonObject
JSONObject data = jsonObject.getJSONObject("data");
Gson gson = new Gson();
Type type = new TypeToken<Bean>(){}.getType();
Bean bean = gson.fromJson(String.valueOf(data), type);
解析 JSONArray
JSONArray array = jsonObject.getJSONArray("data");
Gson gson = new Gson();
Type type = new TypeToken<List<Bean>>() {}.getType();
List list = gson.fromJson(String.valueOf(array), type);