在 Python 中比较 JSON 和类 JSON 结构
在 Python 中比较 JSON 和类 JSON 结构。
pip install jsondiff
…用法:
…示例:
$ jdiff a.json b.json -i 2
$ jdiff a.json b.json -i 2 -s symmetric
$ jdiff a.yaml b.yaml -f yaml -s symmetric安装开发依赖项,并在本地进行测试
pip install -r requirements-dev.txt
# ... do your work ... add tests ...
pytest要从源代码安装,请运行
pip install .这将安装 jsondiff 的库和 CLI 以及其运行时
依赖项。
python -m build
twine check dist/*暂无开放 Issues,或尚未同步最近议题。