kotlin-wiremock icon indicating copy to clipboard operation
kotlin-wiremock copied to clipboard

Check json equality non

Open mikhailsnnt opened this issue 4 months ago • 0 comments

Proposal

Add support for JSON array order indeference:

Less strict matching

By default different array orderings and additional object attributes will trigger a non-match. However, both of these conditions can be disabled individually.

JavaJSONCopy .withRequestBody(equalToJson("{ "total_results": 4 }", true, true))

References

No response

mikhailsnnt avatar Jul 30 '25 08:07 mikhailsnnt