ktoml icon indicating copy to clipboard operation
ktoml copied to clipboard

Reduce verbosity of sub tables

Open kgevorkyan opened this issue 4 years ago • 2 comments

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

kgevorkyan avatar Jul 20 '21 12:07 kgevorkyan

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 avatar Dec 20 '21 22:12 NfNitLoop

@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

orchestr7 avatar Dec 21 '21 08:12 orchestr7