-
Notifications
You must be signed in to change notification settings - Fork 11.9k
[ISSUE #9396] Use fastjson2 in all modules #9397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #9397 +/- ##
=============================================
+ Coverage 48.14% 49.49% +1.35%
- Complexity 12022 12438 +416
=============================================
Files 1308 1307 -1
Lines 92253 92252 -1
Branches 11808 11810 +2
=============================================
+ Hits 44413 45658 +1245
+ Misses 42352 41032 -1320
- Partials 5488 5562 +74 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1、Could you provide the performance benchmark data for the original Fastjson 1? |
Could you develop a tool to validate whether objects with camelCase properties are compatible with Fastjson 2, so we can check compatibility? @yx9o |
Let me understand. We need to develop a tool to test all objects in the project that have irregular camel case naming to ensure that fastjson1 and fastjson2 serialization are compatible, right? |
Yes, but we should only validate classes involved in JSON serialization/deserialization. |
Hi @fuyou001 , please help review again. According to your review, I added the following serialization compatibility test tool class:
|
When running RemotingSerializableCompatTest, I encountered failed classes. Here's the output for your review: |
@yx9o Subclasses of ConfigManager must also be checked |
Hello, I received your response. I have tested this class separately in the current branch and the develop branch. No errors occur. There is no "failed: xx" error output in the class itself. May I ask how you run this test? |
ConfigManager's subclasses are in multiple different packages and cannot be tested uniformly using tool classes. I want to do fastjson1 serialization and fastjson2 deserialization compatibility verification in each subclass's Test. Is this OK? |
RemotingSerializableCompatTest.testCompatibilityCheck method , I change :
|
Fixes #9396 .