skyscreamer / JSONassert

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

No detailed error message when number of JSON Objects is high? #94

Open rahuljawale opened 6 years ago

rahuljawale commented 6 years ago

I observed that when the number of JSON Objects is higher ( > 1500) the error message is lacks enough information. i.e. instead of getting expected and actual comparison, the error message only consists of Could not find match for element and the offending JSON Object.

After much of head scratching the issue was found to be missing attribute. :) . Is there a way we can enable deeper comparison at the cost of performance?

ChallenHB commented 6 years ago

I am having the same issue. My object isn't particularly large, but it does multiple levels of nested arrays and objects.

prasanthan-jayaram-telus commented 2 years ago

Any updates on this guys? I have same issue for a quite large JSONs. Tried various libraries but none of them ignore the order of arrays