跳转至

JQ

安装

sudo apt-get update
sudo apt-get install jq
jq . config.json  # 检查json格式

一些命令的输出结果可以借助jq来处理或者格式化

curl http://httpbin.org/get | jq