Value getter/setter for boolean stored in JSON.
JSONException for read access if this.type is not JSONType.true_ or JSONType.false_.
JSONValue j = true; assert(j.boolean == true); j.boolean = false; assert(j.boolean == false); j.integer = 12; import std.exception : assertThrown; assertThrown!JSONException(j.boolean);
See Implementation
Value getter/setter for boolean stored in JSON.