std.data.json formal review

Craig Dillabaugh via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 13 20:56:17 PDT 2015


On Friday, 14 August 2015 at 00:16:47 UTC, Walter Bright wrote:
> On 8/13/2015 5:22 AM, CraigDillabaugh wrote:
>> No configuration file should be in a format that doesn't 
>> support comments.
>
> [ "comment" : "and you thought it couldn't have comments!" ]

You are cheating :o)

There do seem to be some ways to comment JSON files, but they all 
feel, and look like hacks.

I think something like YAML or SDLang even would be better.

Anyway, at least you aren't proposing XML, so I won't complain 
too loudly.



More information about the Digitalmars-d mailing list