jq is pure awesomeness. If every you want to “grep” through JSON data on the command line, this is the tool for you. Unfortunately, I don’t use it everyday, so when I do go to use it I forget the details for doing some basic operations.
Sample Data
[
{
"name": "Homer Simpson",
"occupation": "Nuclear Safety Inspector"
},
{
"name": "Marge Simpson",
"occupation": "Mayor"
},
{
"name": "Milhouse Van Houten",
"occupation": "Student"
},
{
"name": "Homeboy Van Somebody",
"occupation": "Lawyer"
→ Continue reading “My jq cheat sheet”