On Tuesday, 26 August 2014 at 10:36:15 UTC, eles wrote:
On Tuesday, 26 August 2014 at 10:00:29 UTC, ketmar via Digitalmars-d wrote:
On Tue, 26 Aug 2014 09:32:09 +0000
eles via Digitalmars-d <[email protected]> wrote:

Are the drawbacks of JSON so big? Why to move away from it
i don't know too. i think that it's enough to add three features to
current json parser to be happy:
1. comments, both '//' and '/* */.

Not exactly that, but look here two approaches for introducing comments in standard JSON:

1: a convention

http://stackoverflow.com/a/244858


2: a hack

http://fadefade.com/json-comments.html

These are mostly useful for documentation comments, but not so much for disabling parts of the definitions temporarily, which would be my primary use case.

Reply via email to