3 ms·
TOML is my preferred config file format. It has all the benefits of JSON and YAML, but it's not so complicated to parse and does not depend on indentation. ht
by the_duke 10y ago
TOML is my preferred config file format.
It has all the benefits of JSON and YAML, but it's not so complicated to parse and does not depend on indentation.
https://github.com/toml-lang/toml https://github.com/toml-lang/toml
- wtetzner 10y ago> It has all the benefits of JSON and YAML... Well, except that you have to quote strings.
- ghayes 10y agoAs you always have to do in JSON, and sometimes have to do in YAML.
- wtetzner 10y agoSorry, I should have clarified that I was referring to YAML. JSON is inferior to both TOML and YAML as a config language. In YAML, yes, you sometimes have to quote strings, but most of the time you don't.