java - 大家用什么json序列化工具,fastjson、gson、jackson?
高洛峰
高洛峰 2017-04-18 09:28:04
0
9
749

之前一直用着jackson,还没遇到过坑,最近在搭框架,希望用过的朋友给个建议。fastjson、gson、jackson 大家用的是哪个,遇到过什么坑,你个人使用感觉这几个的优劣是什么,谢谢。

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(9)
左手右手慢动作

Fastjson Jackson, choose one, but swagger integrates springmvc to generate api that does not currently support fastjson, which makes me feel sad...Jackson is more famous and has better support. Don’t be too obsessed with performance. This overhead is not enough. Become a bottleneck

Peter_Zhu

Fastjson can be used, supports various serializations, and has complete information. fastjson is about 6 times faster than gson. The test results are here: https://github.com/eishay/jvm-serializers/wiki/Staging-Results

Ty80

Use jackson because spring mvc uses it by default.

左手右手慢动作

I have used org.json (github address), and then I learned that fastjson is known as the fastest, so I used Alibaba’s. I don’t know if it is true, and I haven’t tested it yet

PHPzhong

UltraJson written in pure C

PHPzhong

fastjson

左手右手慢动作

Alibaba’s fastjson feels very convenient and smooth

左手右手慢动作

Using PHPjson_encode()

PHPzhong

Hijson tool is small but very convenient

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template