JSONValue.boolean

bool boolean() @property const pure @safe

Value getter/setter for boolean stored in JSON.

Throws

JSONException for read access if this.type is not

JSONType.true_ or JSONType.false_.

bool boolean(bool v) @property pure nothrow @safe @nogc

ditto