[ 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.
this |
the node to initialize |
value |
an integer |
the initialized node |