更新时间:2023-11-30 16:09:46
Python JSON的模块也可以做到这一点(python -m json.tool),例如:
python -m json.tool
Python JSON's module can do this too (python -m json.tool), e.g.:
cat myjsonfile.json | python -m json.tool > pretty.json
如何查看在Ubuntu上漂亮打印的大JSON文件?