set_string


Description:

public void set_string (string value)

Sets value as the string 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 string value