Uses the colored_json crate to colourise json output.
This works for both compact and pretty output. By default, it will select colour output if stdout is a tty, but this can be explicitly set using the -C, --color-output and -M, --monochrome-output flags (like jq).
Uses the
colored_json
crate to colourise json output.This works for both compact and pretty output. By default, it will select colour output if stdout is a tty, but this can be explicitly set using the
-C, --color-output
and-M, --monochrome-output
flags (likejq
).