Method

JsonNodeget_parent

Declaration [src]

JsonNode*
json_node_get_parent (
  JsonNode* node
)

Description [src]

Retrieves the parent node of the given node.

Return value

Returns: JsonNode
 

The parent node, or NULL if node is the root node.

 The data is owned by the instance.
 The return value can be NULL.