| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Test Results 37 files ± 0 37 suites ±0 2m 45s ⏱️ -14s For more details on these failures, see this check. Results for commit d7c33e2. ± Comparison against base commit f4026e7. ♻️ This comment has been updated with latest results. |
Sorry, something went wrong.
Qodana for .NETIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact us at qodana-support@jetbrains.com
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Adds first-class round-trip assertions for System.Text.Json, which is the serializer many users rely on today and which was missing alongside the existing XML and data contract helpers.
The implementation adds BeJsonSerializable() / BeJsonSerializable<T>() overloads, supports custom equivalency configuration, and accepts JsonSerializerOptions so callers can use custom converters and other serializer settings. The comparison follows System.Text.Json semantics by checking properties by default and excluding [JsonIgnore] members from the round-trip equivalency check.
The JSON assertion is only compiled on NET6_0_OR_GREATER, matching the existing JSON equivalency API surface.
The specs cover successful round-tripping, serializer failures, ignored members, custom converter scenarios, and null option guards. The unreleased notes and serialization docs were updated to document the new assertion and ignored-member behavior.
Closes #3264
IMPORTANT
CONTRIBUTOR LICENSE GRANT
By submitting this contribution, the contributor hereby irrevocably grants to the project owners and maintainers a perpetual, worldwide, royalty-free, irrevocable license to use, reproduce, modify, distribute, sublicense, and create derivative works of the contribution for any purpose and under any terms, including proprietary licensing.
The contributor waives any moral rights in the contribution to the extent permitted by law and agrees not to assert any claim of authorship or control over the contribution. The contributor represents that they are the sole author of the contribution and that it is provided free of any third-party claims.
The contributor understands and agrees that the maintainers may, at their sole discretion, use, license, or redistribute the contribution as part of any work and under any terms they choose, without further permission or attribution.