79486033

Date: 2025-03-05 09:52:29
Score: 1.5
Natty:
Report link

If you have your expected json result, you can just use library LateApexEarlySpeed.Xunit.Assertion.Json to do "json-level" assertion (yes, it considers "varying data structure of the JSON")

JsonAssertion.Equivalent("""
                {
                  "a": 1,
                  "b": 2
                }
                """,
                """
                {
                  "b": 2,
                  "a": 1
                }
                """);

(I am author of this library)

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: LateApexEarlySpeed