jsondiff icon indicating copy to clipboard operation
jsondiff copied to clipboard

Diff JSON and JSON-like structures in Python

Results 29 jsondiff issues
Sort by recently updated
recently updated
newest added

Can you perform a new release so folks can pipx install this....

The backtracking pass of the list diff algorithm in `_list_diff_0` was calling `_obj_diff` on pairs of objects that had already been diffed in the forward pass earlier in the `_list_diff`...

I just tried to diff two firefox memory reports (73MiB each) and `jdiff` exploded, had to shoot it down at about 5GiB of RAM usage.. You may try yourself, the...

help wanted

Apologies if I've overlooked a previous discussion on this. Is it possible to take a series of diffs generated by this tool, and build the diff back to the original...

question

Comparable to: https://github.com/andreyvit/json-diff/pull/98/files

enhancement
help wanted

Necessary to ensure correctness for deeply nested dicts. Traditional float very quickly converge the similarity score to 1 for small changes at deep layers. https://github.com/xlwings/jsondiff/issues/56

Either we should migrate to integer only arithmetic OR use python decimal library to increase precision I have a usecase where JSON schema are being marked similar if the difference...

enhancement

When the diff has been performed, we obtain a dictionary with keys of type `Union[T|jsondiff.symbols.Symbol]` (`T` being the initial type(s) of the keys in the initial two dictionaries). This led...

Syntax can be compact,symmetric,explicit,rightonly according to the README, but it doesn't mention what those mean. In fact, there isn't even a docstring in the code for what the differences are...

question