Method

JsonNodeset_boolean

Declaration [src]

void
json_node_set_boolean (
  JsonNode* node,
  gboolean value
)

Description [src]

Sets value as the boolean content of the node, 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

value

Type: gboolean

A boolean value.