Function

FwupdCodecjson_append_map

deprecated: 2.1.1 since: 2.0.10

Declaration [src]

void
fwupd_codec_json_append_map (
  FwupdJsonObject* json_obj,
  const gchar* key,
  GHashTable* value
)

Description [src]

Appends a key and string hash map to a JSON object.

Deprecated for fwupd_json_object_add_object_map().

Available since: 2.0.10

Deprecated since: 2.1.1

Please do not use it in newly written code.

Parameters

json_obj

Type: FwupdJsonObject

A FwupdJsonObject.

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: GHashTable

A hash table.

The data is owned by the caller of the function.