JSON5 is a JSON-like file format that is 100% aligned with Typescript, and thus allows to use comments, no quotes required around keys, ... If we have data1.json5 like: ```json5 { country: 'Australia' } ``` And we run a command: ```bash yq '.country' < data1.json5 ``` it could output ``` Australia ```
JSON5 is a JSON-like file format that is 100% aligned with Typescript, and thus allows to use comments, no quotes required around keys, ...
If we have data1.json5 like:
And we run a command:
it could output