www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17693] New: std.json cannot parse dub.json package files

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

--
Jul 26 2017