首先要去官方下载json-lib工具包
下载地址:
http://sourceforge.net/projects/json-lib/files/json-lib/json-lib-2.4/
目前最新的是2.4的版本,本示例中使用的是v2.3;json-lib还需要以下依赖包:
jakarta commons-lang 2.5
jakarta commons-beanutils 1.8.0
jakarta commons-collections 3.2.1
jakarta commons-logging 1.1.1
ezmorph 1.0.6
依赖包的下载地址:
ezmorph 1.0.6:
http://ezmorph.sourceforge.net/
http://morph.sourceforge.net/
jakarta commons-lang 2.4 :
http://commons.apache.org/lang/download_lang.cgi
jakarta commons-beanutils 1.7.0 :
http://commons.apache.org/beanutils/download_beanutils.cgi
jakarta commons-collections 3.2 :
http://commons.apache.org/collections/download_collections.cgi
jakarta commons-logging 1.1.1 :
http://commons.apache.org/logging/download_logging.cgi
下载地址:
http://sourceforge.net/projects/json-lib/files/json-lib/json-lib-2.4/
目前最新的是2.4的版本,本示例中使用的是v2.3;json-lib还需要以下依赖包:
jakarta commons-lang 2.5
jakarta commons-beanutils 1.8.0
jakarta commons-collections 3.2.1
jakarta commons-logging 1.1.1
ezmorph 1.0.6
依赖包的下载地址:
ezmorph 1.0.6:
http://ezmorph.sourceforge.net/
http://morph.sourceforge.net/
jakarta commons-lang 2.4 :
http://commons.apache.org/lang/download_lang.cgi
jakarta commons-beanutils 1.7.0 :
http://commons.apache.org/beanutils/download_beanutils.cgi
jakarta commons-collections 3.2 :
http://commons.apache.org/collections/download_collections.cgi
jakarta commons-logging 1.1.1 :
http://commons.apache.org/logging/download_logging.cgi