Method
FwupdJsonObjectadd_node
since: 2.1.1
Declaration [src]
void
fwupd_json_object_add_node (
FwupdJsonObject* self,
const gchar* key,
FwupdJsonNode* json_node
)
Description [src]
Adds a node to the JSON object. 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. json_node-
Type:
FwupdJsonNodeA
FwupdJsonNode.The data is owned by the caller of the method.