JSON依赖的选择

 

json-lib

源码:https://github.com/aalmiray/Json-lib/

最新版本:2.4

不再更新

     <dependency>
            <groupId>net.sf.json-lib</groupId>
            <artifactId>json-lib</artifactId>
            <version>2.4</version>
            <classifier>jdk15</classifier>
        </dependency>

参考:http://blog.csdn.net/douxiaoning1987/article/details/9170199

http://www.cnblogs.com/hitwtx/articles/2468633.html

 

json-smart

最新版本:2.3

        <dependency>
            <groupId>net.minidev</groupId>
            <artifactId>json-smart</artifactId>
            <version>1.3.1</version>
        </dependency>    

 

 

gson

 

fastjson

最新版本:1.2.33

        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
            <version>1.1.15</version>
        </dependency>

 

 

jackson

 

org.json

      <dependency>
          <groupId>org.json</groupId>
          <artifactId>json</artifactId>
          <version>20160810</version>
      </dependency>

 

参考:http://blog.csdn.net/jediael_lu/article/details/25779087

 

 

 

 参考:

http://www.cnblogs.com/zhenjing/archive/2013/08/08/json-smart.html

http://blog.csdn.net/xiaoke815/article/details/52920405

http://blog.csdn.net/lmdsoft/article/details/51193007

http://www.cnblogs.com/gsonkeno/p/6328390.html

posted @ 2017-06-19 16:31  Mr.Ming2  阅读(1470)  评论(0编辑  收藏  举报