Conversation
Never thought I'd say this, but TOML is so much saner than YAML for config files. If you're starting from scratch and need a config file for your app, pick TOML.
3
5
15
@kushal with tomllib now native, it's a no-brainer for Python apps.
0
0
1
@denix Yes, but one that can sanely do nested arrays and dicts.
0
0
1
@lanius JSON is very fragile and is poorly suited to be edited directly by a human (no comments, no trailing commas, one missing bracket invalidates the whole file). TOML also converts directly into a sensible structure, but it is also much more able to survive ham-handed edits.
0
0
2