Method

FwupdJsonObjectadd_array

since: 2.1.1

Declaration [src]

void
fwupd_json_object_add_array (
  FwupdJsonObject* self,
  const gchar* key,
  FwupdJsonArray* json_arr
)

Description [src]

Adds an array to the JSON object.

Available since: 2.1.1

Parameters

key

Type: const gchar*

Dictionary key.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
json_arr

Type: FwupdJsonArray

A FwupdJsonArray.

The data is owned by the caller of the method.