Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any new JSONAssert alternatives having compare modes?

I wonder if there are any alternatives to JSONAssert library which allow asserting a JSON file in a similar way. The Alternative which has a similar feature to JSONCompareMode like STRICT and NON_EXTENSIBLE etc. The last commit in JSONAssert seems to be quite old -> https://github.com/skyscreamer/JSONassert/commits/master and it looks that the project is not developed anymore.

like image 679
vmaaik Avatar asked Nov 15 '22 12:11

vmaaik


1 Answers

There is active JsonUnit with long history and with quite comprehensive features: https://github.com/lukas-krecan/JsonUnit

like image 190
sasynkamil Avatar answered Jan 26 '23 01:01

sasynkamil