json-diff icon indicating copy to clipboard operation
json-diff copied to clipboard

A library to generate a json diff on java

Results 4 json-diff issues
Sort by recently updated
recently updated
newest added

Needed an Object matcher that can ignore fields from expected and/or received json I've made this one (in kotlin), maybe you could integrate it. ``` class CustomJsonObjectPartialMatcher( val excludingExpected: List...

LenientJsonArrayPartialMatcher performs a comparison of each element in the expected array node with each element in the actual array node, resulting in n^2 complexity for calculating the similarity score before...

- refactor `CompositeJsonMatcher` to allow more than 3 matchers - refactor `PartialJsonMatcher` to compare different node type (like compare null value with array node) - add `NullEqualsEmptyArrayMatcher` to match null...

Can be usefull to add a the possibility in LenientJsonArrayPartialMatcher to ignore difference between null array, array field not exist or empty array. So this three example become the same...