skyscreamer / JSONassert

Write JSON unit tests in less code. Great for testing REST interfaces.
http://jsonassert.skyscreamer.org
Apache License 2.0
1k stars 197 forks source link

JsonAssert assert arrays different size #121

Open vayaszsolt opened 4 years ago

vayaszsolt commented 4 years ago

I have a usecase where is required to assert two json object which has an array among others fields. As the documentation says the JSONCompareMode.Lenient can apply only for objects. Somebody is aware about a custom comparator that is handling my usecase?

LightingTom commented 3 years ago

I have a usecase where is required to assert two json object which has an array among others fields. As the documentation says the JSONCompareMode.Lenient can apply only for objects. Somebody is aware about a custom comparator that is handling my usecase?

Can you please share your usecase that will cause the error? Thank you!

AishiHuangUIUC commented 2 years ago

I will try to work on this.

PhiGegner commented 1 year ago

Hey @vayaszsolt, @LightingTom and @AishiHuangUIUC,

were you able to solve this? I am currently having the exact same usecase.