Re:NestedText, a nice alternative to JSON, YAML, TOML
by Chakazul on Sunday October 04, 2020 @12:38AM
(#24676565)
Indentation by tab is good for shallow data or code e.g. Python. Space is bad. For deeper levels, I'd go for a visible, countable symbol
Level 1
.Level 2
..Level 3
Re:NestedText, a nice alternative to JSON, YAML, TOML
by yunruse on Sunday October 04, 2020 @04:56AM
(#24677375)
This format seems to support one-space indents, so you could use an editor which highlights spaces easily and set indent level to 1 for visibility. The alternative is unfriendly config or another method of doing the same thing, and both are antithetical to having a simple data format.
After dealing with 500+ line kubernetes configurations, this is a bad idea.