It is a bit long, but you can also use Python for parsing the json files from command line:
echo '{"a": "hello", "b": "world"}' | python -c"import sys,json;j = json.loads(sys.stdin.read());print j['a']"