Friday, December 28, 2012

Simple json parser for bash using python

echo $YOUR_JSON_DATA | python -c "import json; import sys; data=json.load(sys.stdin); print data['results']"