CmdID

CmdID / Commands

json5

Convert JSON5 files to JSON. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Convert JSON5 stdin to JSON stdout

echo input | json5Identify

Convert a JSON5 file to JSON and output to stdout

json5 path/to/input_file.json5Identify

Convert a JSON5 file to the specified JSON file

json5 path/to/input_file.json5 --out-file path/to/output_file.jsonIdentify

Validate a JSON5 file

json5 path/to/input_file.json5 --validateIdentify

Specify the number of spaces to indent by (or "t" for tabs)

json5 --space indent_amountIdentify

Display help

json5 --helpIdentify