Method
JsonNodeset_array
Declaration [src]
void
json_node_set_array (
JsonNode* node,
JsonArray* array
)
Description [src]
Sets array
inside node
.
The reference count of array
is increased.
It is a programmer error to call this on a node which doesn’t hold an
array value. Use JSON_NODE_HOLDS_ARRAY
first.
Parameters
array |
JsonArray |
A JSON array. |
|
The data is owned by the caller of the function. |