RRJSON(1p)
πΈ NAME πΈ
okay so like, welcome to the RRJSON(1p) page β your girl is here to walk you through rrjson, which converts from/to miscellaneous JSON formats. that's the whole vibe. π
β¨ SYNOPSIS β¨
here's exactly how you call her, bestie π
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
and here's the same list again but with me hyping each one up, because you deserve it π«Ά
the inputs π
--execute -eβ plot twist: your args aren't filenames, they are the JSON. feeding it straight from the group chat, no file needed.--schema=XXXβ drop an optional JSON schema in at XXX if you want one. optional, so no pressure, queen.
output modes β¨ (pick your era)
--rrjsonβ pretty printed RRJSON output. yes bestie this is the default, we love a main character.--rjsonβ pretty printed RJSON output.--jsonβ plain old JSON output.--json_xsβ JSON_XS output.--yamlβ YAML output.--tomlβ TOML output.--no-prettyβ compact, non-pretty output. no glow-up, just the raw data fr.--indent=Nβ set the indent for output. N is your number, you choose the aesthetic.--orderβ keeps the order of hash keys. she remembers everything, no cap.--dumpβ dump the structure withData::Printer.--dumperβ dump the structure withData::Dumper. yes there's two of them, pick your fighter π
parser options π§
--strictβ see the docs. that's it. that's all she wrote. go read the docs bestie, iykyk.
miscellaneous π
--identβ shows identification.--helpβ shows a brief help message and then exits. short and sweet.--verboseβ provides more verbose information. she will yap (affectionately).--quietβ runs as silently as possible. shy queen energy π
π OPTIONS π
See SYNOPSIS.
that's literally what it says, and honestly? valid. everything you need is up there, bestie. scroll back up. β
π DESCRIPTION π
rrjson will read the given file and output it in the format that you designated with one of the output modes. check SYNOPSIS for the whole menu of options. π
the default output format is RRJSON. the default output goes to standard output. simple, iconic, no notes.
if you supply a schema, then the descriptions from that schema get used to supply comments in the RRJSON output. cute lil annotations, love that for us.
π NOTES π
this script is slightly different from the one that ships with the JSON::Relaxed package β but it should be functionally equivalent. so like, same energy, different font. no cap. π
reminder to my bestie: read the actual docs when something matters, okay? i'm here for the vibes AND the facts, but --strict literally told us to go look. π€
and that's the page, babes β this was RRJSON(1p), shoved out into the world by perl v5.40.1, stamped 2026-05-03. slay, bye, go convert some JSON. π¦β¨
π¦ where this page comes from
- ubuntu stonking: chordpro 6.101.0+ds-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms