stephennancekivell / scalatest-json

Scalatest matchers for Json with appropriate equality and descriptive error messages.
Apache License 2.0
36 stars 7 forks source link

Consider to expand API to use various json compare modes instead of single STRICT one #185

Open ekuzmichev opened 2 years ago

ekuzmichev commented 2 years ago

The code snippet from matchJson method:

JSONCompare.compareJSON(right, left, JSONCompareMode.STRICT)

It is hardcoded to strict mode that's why one can't use this for ignore-ordering array comparison (JSONCompareMode.LENIENT case)