I’m working on a small, pointless ncurses app. It’s going to need to store some local configuration data (key:value, just for startup), but is not complex enough to warrant messing with GSettings.
What’s the Recommended formatting for simple text-config stuff in these modern times? Because poking through various stuff in ~/.config, ~/.gnome, and ~./local, there’s a mix of INI-style, line-oriented plaintext, JSON, some XML, some stray YAML-ish stuff… (This means miscellaneous GNOME apps like Yelp, Gedit, shell, and so on.)
For obvious reasons, XML is out, and practically speaking JSON is not necessary. I’m just wondering what, if anything, others would advise. ?