Comments (5)
还是用jackson靠谱
那你也就没必要浪费时间在这里回复啦!
from fastjson2.
还是用jackson靠谱
from fastjson2.
source line info of 7d17737:
# test code
$ scc **/test/
───────────────────────────────────────────────────────────────────────────────
Language Files Lines Blanks Comments Code Complexity
───────────────────────────────────────────────────────────────────────────────
Java 1266 117722 20398 4596 92728 1877
JSON 30 3247 21 0 3226 0
Kotlin 4 183 35 15 133 22
───────────────────────────────────────────────────────────────────────────────
Total 1300 121152 20454 4611 96087 1899
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop (organic) $3,261,318
Estimated Schedule Effort (organic) 21.552789 months
Estimated People Required (organic) 13.443292
───────────────────────────────────────────────────────────────────────────────
Processed 3658343 bytes, 3.658 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────
# product code
$ scc **/main/
───────────────────────────────────────────────────────────────────────────────
Language Files Lines Blanks Comments Code Complexity
───────────────────────────────────────────────────────────────────────────────
Java 432 90462 11040 4421 75001 17001
───────────────────────────────────────────────────────────────────────────────
Total 432 90462 11040 4421 75001 17001
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop (organic) $2,514,292
Estimated Schedule Effort (organic) 19.524145 months
Estimated People Required (organic) 11.440885
───────────────────────────────────────────────────────────────────────────────
Processed 3101048 bytes, 3.101 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────
# product code of core module
$ scc core/src/main
───────────────────────────────────────────────────────────────────────────────
Language Files Lines Blanks Comments Code Complexity
───────────────────────────────────────────────────────────────────────────────
Java 379 79331 9670 2604 67057 14909
───────────────────────────────────────────────────────────────────────────────
Total 379 79331 9670 2604 67057 14909
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop (organic) $2,235,432
Estimated Schedule Effort (organic) 18.671168 months
Estimated People Required (organic) 10.636680
───────────────────────────────────────────────────────────────────────────────
Processed 2701043 bytes, 2.701 megabytes (SI)
from fastjson2.
有些重复代码是手工inline导致的,目前Java JIT做得不够好,手动inline能减少调用栈,提升性能。在基础类库中,测试覆盖做得足够时可以这样做的。
from fastjson2.
core部分的文件是379个,其他的主要是testcase,比如core的testcase是1868个。兼容包也占了很多。没有你说的那么夸张呢!
from fastjson2.
Related Issues (20)
- [BUG] 解析不正确:JSONObject.parse("{1,2}") => {1:2} HOT 3
- [QUESTION]反序列化开启JSONReader.autoTypeFilter属性时过于依赖原串中@type属性的位置 HOT 1
- [BUG][v2.0.45/2.0.44]反序列化字符串中最后一个包含转义字符(如:\r、\n、\r\n等)不支持Double类型 HOT 1
- [wiki不是最新的 ] wiki不是最新的
- [BUG] Identified some flaky test in core
- 1.x版本升级2.x Map<List<String>, String>解析失败 HOT 3
- [BUG]JSON对于数组序列化后再反序列化对象类型错误 HOT 3
- [BUG] 使用 jdk9 module 功能后,要求不同的 module 中的 package 不能相同 HOT 2
- JSON.parseObject(resultJsonStr, new TypeReference<T>() {}) 空指针 HOT 2
- [QUESTION] fastjson 2.0.39 JSONFeature.SupportAutoType标识为deprecated HOT 4
- [FEATURE] 反序列化时的Support Auto Type特性能否支持@type注释的重排或规范化处理 HOT 3
- $.ref 不在数组中如何还原 HOT 1
- [BUG]dubbo自定义Exception中的List类型变量赋值为null时反序列化异常 HOT 2
- [BUG] JSONWriter.Feature.BrowserCompatible 导致 LocalDateTime 类型未按预期格式进行格式化处理 HOT 7
- [FEATURE]JSON格式化输出(JSONWriter.Feature.PrettyFormat)支持空格
- [BUG] Kotlin Json解析错误 HOT 5
- [BUG] fastjson1.x升级到2.x时,将java对象转换成JSONObject对象时,对于List集合对象字段,转换后的集合字段的集合元素类型没有变 HOT 9
- 反序列化fastjson2比fastjson慢3倍多 HOT 7
- [QUESTION] JSONPath 支持这种需求吗? HOT 4
- [BUG] 自定义LocalDateTime Reader无效 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastjson2.