json5(1)

json51

Command line for the json5 data interchange format (json5)

Overview

Usage: json5 [options] <file>

If <file> is not provided, then STDIN is used.

Options:

-s, --space

The number of spaces to indent or 't' for tabs

-o, --out-file [file]

Output to the specified file, otherwise STDOUT

-v, --validate

Validate JSON5 but do not output JSON

-V, --version

Output the version number

-h, --help

Output usage information

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

From node-json5 2.2.3+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.