init_int


Description:

[ Version ( since = "0.16" ) ]
public unowned Node init_int (int64 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

an integer

Returns:

the initialized node