#一、安装 json
brew install jq
#二、建立文件bash
echo '{"name": "Ruby"}' > ./test.json
#三、查看code
cat ./test.json | jq .