www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15303] New: std.json: consider JSON5 support


          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 puremagic.com
          Reporter: dhasenan 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.

Nov 08 2015