摘要: [root@postgresql json]# uname -aLinux postgresql 2.6.18-308.13.1.el5 #1 SMP Tue Aug 21 17:10:18 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux下载jsoncpp 和scons(类似GnuMake的工具)http://sourceforge.net/projects/jsoncpphttp://www.scons.org/装scons#tar -zxvf scons-2.2.0.tar.gz#cd scons-2.2.0#python setup.py install编 阅读全文
posted @ 2012-09-12 19:43 Leo Forest 阅读(826) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.cnblogs.com/chenlhuaf/archive/2011/05/01/gson_test.htmlimport com.google.gson.Gson;import com.google.gson.reflect.TypeToken;import java.util.ArrayList;import java.util.List;public class Person { private String name; private int age; /** * @return the name */ public ... 阅读全文
posted @ 2012-09-12 13:51 Leo Forest 阅读(574) 评论(0) 推荐(0) 编辑