std.data.json formal review

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 14 13:30:19 PDT 2015


On 8/14/2015 5:51 AM, Andrei Alexandrescu wrote:
> On 8/13/15 8:16 PM, 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!" ]

Should be { }, not [ ]


> There can't be two comments with the same key though. -- Andrei

The Json spec doesn't say that - it doesn't specify any semantic meaning.



More information about the Digitalmars-d mailing list