json5

Parse and stringify JSON5, a JSON superset with better usability

brewmacoslinux
Try with needOr install directly
Source

About

JSON enhanced with usability features

Commands

json5

Examples

Convert JSON5 file to standard JSON$ json5 input.json5 > output.json
Parse JSON5 from stdin and pretty-print$ echo "{a: 1, b: 2}" | json5
Validate JSON5 syntax without converting$ json5 --validate config.json5