man > json5(1)

CLI.JS(1) User Commands CLI.JS(1)

πŸ“› NAME

cli.js - Command line for the JSON5 Data Interchange Format (JSON5)

πŸš€ Quick Reference

Use CaseCommandDescription
Validate JSON5json5 -v file.json5Check if file is valid JSON5 (no output)
Pretty‑print with 2 spacesjson5 -s 2 file.json5Format JSON5 with indentation
Output to a filejson5 -o output.json file.json5Write result to a file
Read from STDINecho '{a:1}' | json5 -s 2Format JSON5 from a pipe

πŸ“– DESCRIPTION

Usage: json5 [options] <file> If <file> is not provided, then STDIN is used.

βš™οΈ Options

cli.js 2.2.0 November 2021 CLI.JS(1)
json5(1)
πŸ“› NAME πŸš€ Quick Reference πŸ“– DESCRIPTION
βš™οΈ Options

Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 17:43 @2600:1f28:365:80b0:f8a4:e764:d6bb:8e66
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format