Glossary · Phase 7 · Software engineering
Jq
A command-line tool that reads JSON and pulls values out with short filters such as .items[].sku.
Try it now
A simulated shop API answers at https://api.trailhead.test. Each task is checked by what your command prints.
Learn it properly
JSON on the command line: curl and jq · Call APIs with curl, fail on HTTP errors, and pull values out of JSON with jq paths and select. About 25 minutes.
Other terms from the same lesson
- curl: A command-line tool for HTTP requests. With -f it fails on an HTTP error, which is what a script needs.
Never trained an AI?
Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.