www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19361] New: JSON: The boolean() function in JSONValue seems


          Issue ID: 19361
           Summary: JSON: The boolean() function in JSONValue seems to be
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: major
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: moritz.pipahl googlemail.com

Created attachment 1714
  --> https://issues.dlang.org/attachment.cgi?id=1714&action=edit
Screenshot of the docs along with sample compiler errors

Boolean handling in std.json's JSONValue struct seems to be gone completely,
but the current docs state it should be there.

Running the sample code on the website also generates Error: no property
`boolean` for type `JSONValue`.

Nov 03 2018