Is there a recommend method to unit test JSON in K...
# ktor
a
Is there a recommend method to unit test JSON in Kotlin? Like, asserting if one json string is equal to the other
c
years ago i used https://github.com/skyscreamer/JSONassert but I’m not a huge fan.
nowadays I think that its probably better to parse the json to data classes and assert on that.
a
Ah. Might just use JSONassert because I don't have dataclasses for what I'm checking. Thanks
333 Views