摘要:
[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编 阅读全文
摘要:
原文: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 ... 阅读全文