String类型转JSONArray在转为List
String OPTIONS = pd.getString("OPSTIONS");
//转成JSONArray
JSONArray jsonArray = JSONArray.fromObject(OPTIONS);
//JSONArray转List,Topic.class是对象类的名称。
List<Topic> deptList =
String OPTIONS = pd.getString("OPSTIONS");
//转成JSONArray
JSONArray jsonArray = JSONArray.fromObject(OPTIONS);
//JSONArray转List,Topic.class是对象类的名称。
List<Topic> deptList =