Generating configuration file from Ini values
|Assignee:||Miroslav Fidler||% Done:|
I'd like to add two simple utility functions that generate contents of configuration file from IniInfo containing either currently set values or defaults. The generated String contains not only the values, but also the description strings in comments.
The idea is to simplify documentation for developer and configuration for user. All the necessary information is usually present in the description of Ini values, so by generating config file, the programmer doesn't have to list all the information again in docs... Also, since current values can be stored, it could be a handy way for apps to store configuration instead of using human-unreadable serialization (or xml or json which are not much better).