4 ms·
TOML gets very weird as soon as you have more than one level of nesting.
by fanf2 5y ago
TOML gets very weird as soon as you have more than one level of nesting.
- thayne 5y agoNesting multiple levels of tables is pretty simple, you just have sections that look like [a.b.c]. It's different than Json, but IMO easier to read and navigate. Unfortunately it doesn't handle c arrays of arrays of tables very well.
- dathinab 5y agoIt depends on the kind of nesting, cargo has multiple levels of nesting all the time and it's working well. Through is you have thinks like object->list->object->list thinks can get weird without questions. Still most time I had such complex configs I also often (not always) realized that I did something wrong and unnecessary complex...