Method

JsonArrayadd_element

Declaration [src]

void
json_array_add_element (
  JsonArray* array,
  JsonNode* node
)

Description [src]

Appends the given node inside an array.

Parameters

node

Type: JsonNode

The element to add.

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