Re:NestedText, a nice alternative to JSON, YAML, TOML
by tgv on Sunday October 04, 2020 @04:41AM
(#24677330)
Very YAML. I checked the example, and the difference is that YAML places the > following the attribute name, and this format places it before the text.
BTW, I happen to like YAML as a configuration format. It's much more readable than JSON. It's not that suitable for serialization, and probably shouldn't be used to create huge config files, but for the rest, it's as good as it gets.
Edit: forgot to mention. I personally don’t like most general data serialization formats for configuration, the one I can probably tolerate is XML, but even that I only use when it’s part of requirement. The way I usually implement program behavior configuration is through runcommands(runcom, .rc)