Function

FwupdCodecjson_append_strv

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 JsonBuilder
 

A JsonBuilder.

 The data is owned by the caller of the function.
key const gchar*
 

A string.

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

A GStrv.

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