Bug 19361 – JSON: The boolean() function in JSONValue seems to be gone

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2018-11-03T09:56:01Z
Last change time
2019-10-22T07:55:56Z
Assigned to
No Owner
Creator
Moritz

Attachments

IDFilenameSummaryContent-TypeSize
1714std.json.boolean.pngScreenshot of the docs along with sample compiler errorsimage/png103730

Comments

Comment #0 by moritz.pipahl — 2018-11-03T09:56:01Z
Created attachment 1714 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`.
Comment #1 by rschadek — 2019-10-22T07:55:56Z
This seems to work again. As far as I can gather this was readded in 8e8409f3087d676a9a88cdc49b56c530b0851b95