diff --git a/pages/common/jq.md b/pages/common/jq.md index 1ed0ce24fe..ff73b17dcc 100644 --- a/pages/common/jq.md +++ b/pages/common/jq.md @@ -7,6 +7,10 @@ `{{cat path/to/file.json}} | jq '.'` +- Execute a specific expression only using the `jq` binary (print a colored and formatted JSON output): + +`jq '.' {{/path/to/file.json}}` + - Execute a specific script: `{{cat path/to/file.json}} | jq --from-file {{path/to/script.jq}}`