Function
FwupdCodecjson_append_bool
deprecated: 2.1.1 since: 2.0.0
Declaration [src]
void
fwupd_codec_json_append_bool (
FwupdJsonObject* json_obj,
const gchar* key,
gboolean value
)
Description [src]
Appends a key and boolean value to a JSON object.
Deprecated for fwupd_json_object_add_boolean().
Available since: 2.0.0
Deprecated since: 2.1.1
Please do not use it in newly written code.
Parameters
json_obj-
Type:
FwupdJsonObjectA
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:
gbooleanBoolean.