set_boolean


Description:

public void set_boolean (bool value)

Sets value as the boolean content of the this, replacing any existing content.

It is an error to call this on an immutable node, or on a node which is not a value node.

Parameters:

this

a node initialized to `JSON_NODE_VALUE`

value

a boolean value