init_string


Description:

[ Version ( since = "0.16" ) ]
public unowned Node init_string (string? value)

Initializes this to `JSON_NODE_VALUE` and sets value into it.

If the node has already been initialized once, it will be reset to the given type, and any data contained will be cleared.

Parameters:

this

the node to initialize

value

a string value

Returns:

the initialized node




2022 vala-language.org