Parse json in the shell with jsawk
When cut
is not enough, try installing jsawk, it's very handy if you want to parse out data from APIs in bash scripts:
$ curl -s "https://api.github.com/repos/antirez/redis" | jsawk "return this.open_issues"
Written by Christian Toivola
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Related Tags
#bash
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#