Method
FwupdJsonObjectadd_bytes
since: 2.1.1
Declaration [src]
void
fwupd_json_object_add_bytes (
FwupdJsonObject* self,
const gchar* key,
GBytes* value
)
Description [src]
Adds bytes to the JSON object. They will be base64 encoded as a string. If the node already exists the old one is replaced.
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:
GBytesValue.
The data is owned by the caller of the method.