A Java library for comparing JSONs
// momentum
// why it's here
- Active: last commit today
- Health 94/100 with only 77 stars
- Around since 2018 and still shipping
- 10 releases in the last 90 days
// how to help
// readme
JSON Compare
A Java library for matching JSONs, with regex, JSONPath, and embedded match tweaks β no glue code required.
Compare any two JSON-convertible Java objects and report every difference on
mismatch. The expected JSON is matched leniently by default β sizes and array
order are ignored, scalar values are matched as Java regular expressions, and
match logic can be tuned with operators (!, !.*, .*, #(...)) embedded
directly inside the expected JSON.