[Issue 15303] New: std.json: consider JSON5 support

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Nov 8 09:10:20 PST 2015


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

          Issue ID: 15303
           Summary: std.json: consider JSON5 support
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: dhasenan at gmail.com

JSON5 is a collection of proposed extensions to JSON that make it easier to
write. It includes:

* support for trailing commas
* unquoted object keys
* comments
* multiline strings
* hexadecimal numbers
* explicit positive signs on integers
* use of single or double quotes

While std.json should only *emit* vanilla JSON, it probably wouldn't break
anything to accept JSON5.

--


More information about the Digitalmars-d-bugs mailing list