Diff JSON and JSON-like structures in Python
Diff JSON and JSON-like structures in Python.
pip install jsondiff
…Usage:
…Examples:
$ jdiff a.json b.json -i 2
$ jdiff a.json b.json -i 2 -s symmetric
$ jdiff a.yaml b.yaml -f yaml -s symmetricInstall development dependencies and test locally with
pip install -r requirements-dev.txt
# ... do your work ... add tests ...
pytestTo install from source run
pip install .This will install the library and cli for jsondiff as well as its runtime
dependencies.
python -m build
twine check dist/*Please disclose the use of AI when opening your PR. The use of AI does not disqualify your submission. Encourage your agents to practice brevity unless verbose detail is truly adding value.
No open issues yet, or sync has not completed.