setBoolean

JSON::Node::setBoolean

Sets the value of a Boolean Node.

Declaration

void setBoolean(bool boolean);

Parameters

Name

Type

Description

boolean

bool

The value to set for the JSON::Node.

Returns

None.

Notes

This function can only be called on a JSON::Node with the Boolean JSON::Type.