In one of my previous posts, I wrote about underscore-cli for looking at JSON output (e.g. to see the curl response from a REST web service). An alternative to this is jq, a command line processor for JSON in bash.
Some things about jq that make it powerful is that it can be used as a filter (that what jq really is). This means that you can select which parts of the JSON buffer be returned from the stream so that you can you do your own navigation.
For more information, check out https://stedolan.github.io/jq/tutorial/
No comments:
Post a Comment