Forrest logo
back to context overview

json5

List of commands for json5:

  • json5:tldr:56a88 json5: Convert a JSON5 file to JSON and output to `stdout`.
    $ json5 ${path-to-input_file-json5}
    try on your machine
    explain this command
  • json5:tldr:64629 json5: Convert a JSON5 file to the specified JSON file.
    $ json5 ${path-to-input_file-json5} --out-file ${path-to-output_file-json}
    try on your machine
    explain this command
  • json5:tldr:c1037 json5: Convert JSON5 `stdin` to JSON `stdout`.
    $ echo ${input} | json5
    try on your machine
    explain this command
  • json5:tldr:e338d json5: Validate a JSON5 file.
    $ json5 ${path-to-input_file-json5} --validate
    try on your machine
    explain this command
  • json5:tldr:edb8e json5: View available options.
    $ json5 --help
    try on your machine
    explain this command
  • json5:tldr:ee86b json5: Specify the number of spaces to indent by (or "t" for tabs).
    $ json5 --space ${indent_amount}
    try on your machine
    explain this command
back to context overview