OS Manuals

/opt/chainguard/keep-api/bin/pyjson5

Keep API server - open source alerting platform

From keep-api 0.55.0-r0 (enterprise-packages), captured 2026-11-08 by running pyjson5 --help (exit 0). permalink

Also provided by 1 other package version
usage: json5 [-h] [-V] [-c STR] [--as-json] [--indent INDENT] [--quote-keys] [--no-quote-keys]
             [--trailing-commas] [--no-trailing-commas] [--strict] [--no-strict]
             [FILE]

A tool to parse and pretty-print JSON5.

Usage:

    $ echo '{foo:"bar"}' | python -m json5.tool
    {
        foo: 'bar',
    }
    $ echo '{foo:"bar"}' | python -m json5.tool --as-json
    {
        "foo": "bar"
    }

positional arguments:
  FILE                  optional file to read JSON5 document from; if not specified or "-", will
                        read from stdin instead

options:
  -h, --help            show this help message and exit
  -V, --version         print the version and exit
  -c STR                inline json5 string to read instead of reading from a file
  --as-json             output as JSON (same as --quote-keys --no-trailing-commas)
  --indent INDENT       amount to indent each line (default is 4 spaces)
  --quote-keys          quote all object keys
  --no-quote-keys       don't quote object keys that are identifiers (this is the default)
  --trailing-commas     add commas after the last item in multi-line objects and arrays (this is
                        the default)
  --no-trailing-commas  do not add commas after the last item in multi-line lists and objects
  --strict              Do not allow control characters (-) in strings (default)
  --no-strict           Allow control characters (-) in strings
Options (11)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-V, --versionprint the version and exithelp
-c STRinline json5 string to read instead of reading from a filehelp
--as-jsonoutput as JSON (same as --quote-keys --no-trailing-commas)help
--indent INDENTamount to indent each line (default is 4 spaces)help
--quote-keysquote all object keyshelp
--no-quote-keysdon't quote object keys that are identifiers (this is the default)help
--trailing-commasadd commas after the last item in multi-line objects and arrays (this is the default)help
--no-trailing-commasdo not add commas after the last item in multi-line lists and objectshelp
--strictDo not allow control characters (-) in strings (default)help
--no-strictAllow control characters (-) in stringshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.