mac jq

#1、安装 


brew install jq

#2、创建文件

echo '{"name": "Ruby"}' > ./test.json

#3、查看

cat ./test.json | jq .

猜你喜欢

转载自my.oschina.net/u/923974/blog/1822321
jq