2017年5月4日 星期四

parse json output via bash

curl -s http://xxxxxxx/xxxx |python -c "import sys, json; print json.load(sys.stdin)['attribute']"

沒有留言: