Function

FwupdCodecjson_append_strv

since: 2.0.0

Declaration [src]

void
fwupd_codec_json_append_strv (
  JsonBuilder* builder,
  const gchar* key,
  gchar** value
)

Description [src]

Appends a key and string array to a JSON builder.

Available since: 2.0.0

Parameters

builder

Type: JsonBuilder

A JsonBuilder.

The data is owned by the caller of the function.
key

Type: const gchar*

A string.

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

Type: gchar**

A GStrv.

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