Method

FwupdJsonObjectadd_integer

since: 2.1.1

Declaration [src]

void
fwupd_json_object_add_integer (
  FwupdJsonObject* self,
  const gchar* key,
  gint64 value
)

Description [src]

Adds an integer value to the JSON object.

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

Integer.