tScjggldljjgInformationList为要转化的集合
import net.sf.json.JSONArray;//导入的JSONArray包
JSONArray jsonArr = JSONArray.fromObject(tScjggldljjgInformationList);
System.out.println(jsonArr.toString());
运行结果
tScjggldljjgInformationList为要转化的集合
import net.sf.json.JSONArray;//导入的JSONArray包
JSONArray jsonArr = JSONArray.fromObject(tScjggldljjgInformationList);
System.out.println(jsonArr.toString());
运行结果