jq

Getting started with jq

Remarks#

This section provides an overview of what jq is, and why a developer might want to use it.

It should also mention any large subjects within jq, and link out to the related topics. Since the Documentation for jq is new, you may need to create initial versions of those related topics.

Installation or Setup

Detailed instructions on getting jq set up or installed.

Install on Mac

Using brew:

$ brew install jq

Then test:

$ echo '{"name": "john"}'
{"name": "john"}

$ echo '{"name": "john"}' | jq '.'
{
  "name": "john"
}

$ echo '{"name": "john"}' | jq '.name'
"john"

This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow