4 ms·
TOML is pretty good but it gets too verbose when you add bunch of arrays. All we need is to revise official JSON standard(ECMA 404) to include comments.
by DethNinja 5y ago
TOML is pretty good but it gets too verbose when you add bunch of arrays.
All we need is to revise official JSON standard(ECMA 404) to include comments.
- benatkin 5y ago> All we need is to revise official JSON standard(ECMA 404) to include comments. That would be a step back for GitLab CI, GitHub Actions, Kubernetes, Google App Engine, and a bunch of other projects which use YAML and seldom encounter the Norway problem. https://hitchdev.com/strictyaml/why/implicit-typing-removed/ https://hitchdev.com/strictyaml/why/implicit-typing-removed/
- gray_-_wolf 5y agoAnd trailing commas. And unquoted keys.
- distortedsignal 5y agoWhy are unquoted keys so critical? I feel like one of the strengths of a DDL like JSON or XML is that it's easy to tell what the data (key-value pair or otherwise) is, while with YAML and others, understanding data-vs-structure can be challenging.
- Aeolun 5y agoMostly so copy between JS and JSON isn’t such a PITA. It’s not essential, but if we’re already changing the format we might as well?