fastjson2
fastjson2 copied to clipboard
[FEATURE] JSON 比对 #1946
What this PR does / why we need it?
[FEATURE] JSON 比对 #1946
Summary of your change
add compare util
Please indicate you've done the following:
- [x] Made sure tests are passing and test coverage is added if needed.
- [x] Made sure commit message follow the rule of Conventional Commits specification.
- [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Codecov Report
Attention: Patch coverage is 98.07692%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 77.47%. Comparing base (
a0b63fa
) to head (3f7166f
). Report is 492 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
.../java/com/alibaba/fastjson2/util/CompareUtils.java | 98.07% | 0 Missing and 3 partials :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #2267 +/- ##
============================================
+ Coverage 77.36% 77.47% +0.10%
- Complexity 22613 22784 +171
============================================
Files 634 635 +1
Lines 84663 85377 +714
Branches 19231 19354 +123
============================================
+ Hits 65496 66142 +646
- Misses 11171 11232 +61
- Partials 7996 8003 +7
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.