-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Labels
Description
hi, very often i am in need of testing some JSON response, whereas i don't care about whitespace and ordering of keys within the JSON (semantic comparison).
there is the JSONAssert library, which can do that. and sometimes i need to "dig into" the JSON, which can be done with json-path.
e.g. transforming JSONAssert.assertEquals(expectedJson, actualJson, jsontMode) into fun Assert<String>.isJsonEquals(expectedJson: String, mode: JsonMode = JsonMode.Strict)
my idea would be to create another artifact, depending on the "assertk-core" library, and simply adding a transitive dependency with such a thin layer making the libs reusable via the fluent assertk assertions.
WDTY?