std.data.json formal review

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


On 8/14/2015 1:30 PM, Walter Bright wrote:
> 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.
>

That is, the ECMA 404 spec. There seems to be more than one JSON spec.

www.ecma-international.org/.../files/.../ECMA-404.pdf


More information about the Digitalmars-d mailing list