News for hackers. Stuff that matters.
Re:NestedText, a nice alternative to JSON, YAML, TOML by haxorito on Saturday October 03, 2020 @09:20PM (#24675941)
Is it just me or NestedText is kinda subset of YAML? I personally see very little advantage of using this over json or yaml, but having more flavors and variation is always a good thing.

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)

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.