table of contents
| RRJSON(1p) | User Contributed Perl Documentation | RRJSON(1p) |
NAME¶
rrjson - convert from/to miscellaneous JSON formats
SYNOPSIS¶
Usage: script/rrjson.pl [options] file
Inputs --execute -e args are JSON, not filenames --schema=XXX optional JSON schema Output modes --rrjson pretty printed RRJSON output (default) --rjson pretty printed RJSON output --json JSON output --json_xs JSON_XS output --yaml YAML output --toml TOML output --no-pretty compact (non-pretty) output --indent=N indent for output --order retain order of hash keys --dump dump structure (Data::Printer) --dumper dump structure (Data::Dumper) Parser options --strict see the docs Miscellaneous --ident shows identification --help shows a brief help message and exits --verbose provides more verbose information --quiet runs as silently as possible
OPTIONS¶
See SYNOPSIS.
DESCRIPTION¶
rrjson will read the given file and output it in the format designated by one of the output modes, see SYNOPSIS.
Default output format is RRJSON; default output is standard output.
If a schema is supplied, descriptions from the schema will be used to supply comments in the RRJSON output.
| 2025-11-01 | perl v5.40.1 |