Laurent Thiebaud
01/09/2024, 4:14 PMkotlinx.serialization.json
) but in some cases we'd like to ignore some keys (generated IDs, timestamps...)
Today we have a simple
assertEquals(object1, object2)
Do you see any way to ignore a key / or remove a key from a JsonObject before the comparison?Rob Elliot
01/09/2024, 4:47 PMAssertionError
if an assertion fails it will work in JUnit or whatever.Rob Elliot
01/09/2024, 4:49 PMLaurent Thiebaud
01/09/2024, 4:51 PMshouldEqualSpecifiedJson
/ lenient comparison could help?Rob Elliot
01/09/2024, 4:56 PMAdam S
01/09/2024, 5:14 PM