ktoml
ktoml copied to clipboard
Reduce verbosity of sub tables
Please take a look at https://github.com/toml-lang/toml/issues/413. Despite the fact, that for now there is no such feature in TOML standard, may be it will be convenient and could be an optional possibility
https://github.com/toml-lang/toml/issues/413 was closed in 2017 and doesn't look like it's going to be a thing. Seems like handling actual TOML features should probably be higher priority. Diverging standards is not a good idea IMO.
I agree with comments in the above ticket. TOML is meant to be a configuration file format, not a general purpose data serialization format. If you have very deep data structures, you might want to consider flattening them so they're easier to configure.
If you're trying to use TOML to represent arbitrary hierarchical data structures, you might want another data format.
@NfNitLoop Thank you for this feedback, actually I agree with you. May be in the very long term future (after COVID era 😄) we can support it under some option (not by the default), but definitely not now