关键字: json gson javaGson网址http://code.google.com/p/google-gson/1.简单的处理list和map?1234567891011121314Gson gson = new Gson(); List testList = new ArrayList(); testList.add("first"); testList.add("second"); String listToJson = gson.toJson(testList); System.out.println(listToJson); //pr Read More