Preferred program config file format and parsing library?

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 3 02:31:19 PDT 2014


On Saturday, 2 August 2014 at 12:42:00 UTC, Gary Willoughby wrote:
> What is the preferred format people here use for program config 
> files? Json, Xml, ini, etc?

JSON is nice for data exchange, but I dislike it for 
configuration. It doesn't even support comments, or disabling 
sections of the file. YML is friendlier in this regard.

DUB is considering switching from JSON to SDL:

http://sdl.ikayzo.org/display/SDL/Home
http://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/thread/2/


More information about the Digitalmars-d-learn mailing list