Node.getValue

void getValue(out gobject.value.Value value)

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.

Parameters

valuereturn location for an uninitialized value