关键字: 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
posted @ 2012-10-22 17:46 七郎 Views(5160) Comments(0) Diggs(0) Edit