3 ms·
If JSON had comments and trailing commas we probably wouldn't have YAML.
by nerdponx 3y ago
If JSON had comments and trailing commas we probably wouldn't have YAML.
- cryptonector 3y agoUse jq then. It has comments, though no trailing commas (we could fix that). As a bonus using jq code as configuration gets you templating for free.
- totallywrong 3y agoNah, I'd still pick YAML any day.
- dheerajvs 3y agoBoth JSON5 and JSONC have those features. There is a discussion[0] on the VS Code repo to use JSON5 format instead of JSONC for the settings file. [0]: https://github.com/microsoft/vscode/issues/100688 https://github.com/microsoft/vscode/issues/100688