[Issue 17693] New: std.json cannot parse dub.json package files

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 26 01:44:03 PDT 2017


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

          Issue ID: 17693
           Summary: std.json cannot parse dub.json package files
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: andre at s-e-a-p.de

It's only a minor issue but I want to bring this to your attention.

std.json cannot parse several dub.json files as the json implementation of dub
allows trailing commas. std.json will fail to parse these package definitions.

I noticed this (annoying) issue while writing an own dub registry server.

--


More information about the Digitalmars-d-bugs mailing list