The [`Customization.matches(Object actual, Object expected)`](https://github.com/skyscreamer/JSONassert/blob/7414e901af11c559bc553e5bb8e12b99a57d1c1c/src/main/java/org/skyscreamer/jsonassert/Customization.java#L118) method inverts the order of the parameters compared to the main compare methods, e.g. [`JSONCompare.compareJSON(String expectedStr, String actualStr, JSONComparator comparator)`](https://github.com/skyscreamer/JSONassert/blob/7414e901af11c559bc553e5bb8e12b99a57d1c1c/src/main/java/org/skyscreamer/jsonassert/JSONCompare.java#L47) and [`JSONAssert.assertEquals(String expectedStr, JSONObject actual, boolean strict)`](https://github.com/skyscreamer/JSONassert/blob/7414e901af11c559bc553e5bb8e12b99a57d1c1c/src/main/java/org/skyscreamer/jsonassert/JSONAssert.java#L64). Please change the code to use a consistent ordering to prevent confusion when writing custom comparison `Customization`s.
The
Customization.matches(Object actual, Object expected)method inverts the order of the parameters compared to the main compare methods, e.g.JSONCompare.compareJSON(String expectedStr, String actualStr, JSONComparator comparator)andJSONAssert.assertEquals(String expectedStr, JSONObject actual, boolean strict).Please change the code to use a consistent ordering to prevent confusion when writing custom comparison
Customizations.