[Issue 15303] std.json: consider JSON5 support

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Dec 2 09:58:52 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15303

Marco Leise <Marco.Leise at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Marco.Leise at gmx.de

--- Comment #1 from Marco Leise <Marco.Leise at gmx.de> ---
JSON5 is still a proposal, which means to me: subject to change and I would
prefer that std.json does not silently accept it. Also the remark that "JSON5
content may not work with existing JSON parsers" is humoristic considering the
proposed changes.

Then there is this parallel proposal referenced on the json5 homepage:
http://bolinfest.com/essays/json.html
It differs in what characters are allowed in unquoted field names and adds less
features.

My opinion is that anyone who wants this in Phobos should make it an opt-in
extension. Both because people might depend on std.json's current validation
and because the format is not well established yet.

--


More information about the Digitalmars-d-bugs mailing list