Method

JsonNoderef

since: 1.2

Declaration [src]

JsonNode*
json_node_ref (
  JsonNode* node
)

Description [src]

Increments the reference count of node.

Available since: 1.2

Return value

Type: JsonNode

A pointer to node.

The caller of the method takes ownership of the data, and is responsible for freeing it.