jq - Linux command line tool for interpreting and manipulating JSON documents 13422386 1019544571447648 7687716130941590224 o1

jq – Linux command line tool for interpreting and manipulating JSON documents

I am not the first to discover jq, or even to write about it. However, jq was such a valuable tool for me that I felt obliged to share it with you. And turn it into a Katacoda scenario (Katacoda is on of my other favorite finds).

jq is a Linux command line utility that is easily used to extract data from JSON documents. The source of a JSON document can be a response from a CLI command or the result of a REST API call, files retrieved from remote locations or read from local storage. jq allows us to easily retrieve specific values from the JSON sources, store them in Shell variables and use them in scripts.

Play with jq in this Katacoda scenario: https://katacoda.com/lucasjellema/scenarios/jq-intro – that is also embedded at the end of this article.

Resources

2 Comments

  1. Demed Lher January 29, 2020
    • Lucas Jellema January 29, 2020