jq - commandline JSON processor [version 1.7.1]

Usage:  jq [OPTIONS] FILTER [FILES...]
        jq [OPTIONS] --args FILTER [STRINGS...]
        jq [OPTIONS] --jsonargs FILTER [JSONS...]

jq is a tool for processing JSON inputs, applying the given filter to
its JSON text inputs and producing the filter's results as JSON on
standard output.

The simplest filter is ., which copies jq's input to its output
unmodified (except for formatting, and that by default it will pretty
print).

For more advanced filters see the jq(1) manpage ("man jq") and
https://jqlang.github.io/jq/manual/

Example:  $ echo '{"foo": 0}' | jq .
          {
            "foo": 0
          }

Command options:
  -n, --null-input          use `null` as the single input value;
  -r, --raw-output          output strings without escapes and quotes;
      --raw-output0         implies -r and output NUL after each output;
  -j, --join-output         implies -r and output without newline after each output;
  -a, --ascii-output        output strings by only ASCII characters using escape sequences;
  -S, --sort-keys           sort keys of objects on output;
  -C, --color-output        colorize JSON output;
  -M, --monochrome-output   disable colored JSON output;
      --tab                 use tabs for indentation;
      --indent n            use n spaces for indentation (max 7 spaces);
  -c, --compact-output      compact instead of pretty-printed output;
  -e, --exit-status         set exit status code based on the output;
  -s, --slurp               read all inputs into an array and use it as the single input value;
  -R, --raw-input           read each line as string instead of JSON;
  -f, --from-file file      load filter from the file;
  -L directory              search modules from the directory;
      --arg name value      set $name to the string value;
      --argjson name value  set $name to the JSON value;
      --slurpfile name file  set $name to an array of JSON values read from the file;
      --rawfile name file   set $name to a string consisting of the contents of file;
      --args                remaining arguments are string arguments, not files;
      --jsonargs            remaining arguments are JSON arguments, not files;
  -h, --help                show the help message;
  -V, --version             show the version;
  --                        terminates argument processing;

Named arguments are also available as $ARGS.named[], while positional
arguments are available as $ARGS.positional[].
