Fwupd.Codec.json_append
Description: Reference for Fwupd.Codec.json_append

### Function

# Fwupd Codecjson_append

deprecated: 2.1.1 since: 2.0.0

#### Declaration [src]

    void
    fwupd_codec_json_append (
      FwupdJsonObject* json_obj,
      const gchar* key,
      const gchar* value
    )

#### Description [src]

Appends a key and value to a JSON object.

Deprecated for fwupd_json_object_add_string().

Available since: 2.0.0

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: `const gchar*`

  A string to append.

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