官網
http://code.alibabatech.com/wiki/display/FastJSON/Inside+Fastjson
優點:
1)速度快
2)使用方便
3)開源的,基於Apache 2.0協議
4)高性能
5)支持標準
6)功能強大
7)無依賴第三方JAR庫
介紹與學習例子
http://code.alibabatech.com/wiki/pages/viewpage.action?pageId=2424946
下載
http://code.alibabatech.com/mvn/releases/com/alibaba/fastjson/
測試數據
http://code.alibabatech.com/wiki/display/FastJSON/TestData
內幕
http://code.alibabatech.com/wiki/display/FastJSON/Inside+Fastjson
講述速度快的原因
1、使用ThreadLocal來緩存buf。
2、使用asm(如:objectweb asm)避免反射
其它也不錯的庫
google出品protobuf
jackson