1、
//解析json数组
System.out.println("productDetail:>"+productDetail);
JSONArray jsonArray = JSONArray.fromObject(productDetail);
List list = (List)JSONArray.toList(jsonArray, new SAPProject(), new JsonConfig());
2、
//serialList转为json
JSONArray ja = JSONArray.fromObject(serialList);
String json = ja.toString();