#1、安装
brew install jq
#2、创建文件
echo '{"name": "Ruby"}' > ./test.json
#3、查看
cat ./test.json | jq .
#1、安装
brew install jq
#2、创建文件
echo '{"name": "Ruby"}' > ./test.json
#3、查看
cat ./test.json | jq .
转载于:https://my.oschina.net/u/923974/blog/1822321