当前位置:网站首页>Alibaba Wen Shao came out again to reconstruct fastjson and launch fastjson 2
Alibaba Wen Shao came out again to reconstruct fastjson and launch fastjson 2
2022-04-21 08:29:00 【weihubeats】
List of articles
Here is weihubeats, Feel good about the article, you can pay attention to the official account. , The article first . Reject marketing number , Reject the title party
fastjson
fastjson As a domestic github star most 、 The most popular json Parsing library , stay 2021 Years later, it will basically no longer be maintained .

You can see the pending issues There are about 1.7k

And the submission of code slowly decreases , Not very active in the end
Slowly, most companies will json Change the parsing library to jackjson.Spring Boot default json So is the parser jackjson.
Even though fastjson There are many advantages , But there are many shortcomings .
fastjson Some small shortcomings of
- Compatibility issues : With the mainstream jackson、gson atypism
- Security : There will be some security vulnerabilities (jackjson Also have )
JacksonScalability is very good- Code quality issues , There may be some bug.

You can see that there are still many optimization points , However, due to too many changes and too little temperature, they dare not merge directly , Expect others to participate fastjson2 The open source , So here we can see that Wen Shao is preparing fastjson The refactoring of

Specific about fastjson Some shortcomings of can refer to some discussions on knowledge
https://www.zhihu.com/question/44199956
fastjson2
I've been shopping in recent days github Found fastjson2 Already under open source refactoring


Then look at Wen Shao's vision

You can see that the vision is still very good . It can be seen that the project is still in the development stage . The performance test provided by Wenshao also means a great performance improvement

summary
at present fastjson2 It's just been open source , There are no successful cases for the time being , If you are brave enough, you can try something fresh , However, for the company's projects, we should focus on stability , Looking forward to the follow-up fastjson2 The performance of the , Support domestic , We also encourage you to support open source , Contribute to open source
版权声明
本文为[weihubeats]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210805565432.html
边栏推荐
猜你喜欢

webapi(六)- BOM
![[get C] how data is stored in memory](/img/08/9ee2bfa3025ebe3133cf8c149b80fd.png)
[get C] how data is stored in memory

User authentication center of micro service

微服务入门:Ribbon与Nacos

Introduction to microservices: ribbon and Nacos

初识UI自动化(inspect.exe + uiautomation)

JVM——》常用参数

鸢尾花种类预测--数据集介绍

Comprehensive case: pinyougou project (pinyougou project process, SEO optimization, TDK three labels and codes) will be gradually optimized in the later stage

JVM——》G1垃圾收集器
随机推荐
51 单片机学习_1.3 LED流水灯
51 单片机学习_2.1 独立按键控制LED亮灭
Leetcode0824. 山羊拉丁文(simple,字符串处理)
将pyx文件编译成pyd文件(很多坑,已解决)
xilinx MPSOC EMIO IIC搭建
怎么获取png图片的创作者等信息, 不仅仅是文件大小等信息.即要怎么获取图片的元信息(metadata)
多线程小抄集(新编二)
【ARM汇编判断】如何用汇编判断数组中正负数个数?
Power grid enterprise standard B interface access record (II): resource reporting
select标签 selected 选中状态动态查询
According to the variable name we want to visit
如果优雅最简单快速地将二维数组转换为一维数组, 或者将多维数组转换为一维数组
Configure multiple SSH keys
PIP was installed successfully, but pycharm reported an error
js第十二篇
User authentication center of micro service
淘宝小程序体验优化:数据分析和优化实践
State Grid Enterprise standard B interface record (attachment): address code of video monitoring system
regular expression
Insert a new node after the linked list node