Node.getValue

Retrieves a value from a node and copies into value.

When done using it, call [gobject.value.Value.unset] on the gobject.value.Value to free the associated resources.

It is a programmer error to call this on a node which doesn’t hold a scalar value. Use JSON_NODE_HOLDS_VALUE first.

class Node
void
getValue

Parameters

value gobject.value.Value

return location for an uninitialized value