Method

FwupdJsonObjectadd_array_strv

since: 2.1.1

Declaration [src]

void
fwupd_json_object_add_array_strv (
  FwupdJsonObject* self,
  const gchar* key,
  gchar** value
)

Description [src]

Adds a string array to the JSON object. If the node already exists the old one is replaced.

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.
value

Type: gchar**

Value.

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