kw_delete_metadata_keys()
#
Removes metadata keys from the given JSON object. Metadata keys are identified by the convention of starting with ‘__’.
Prototype
int kw_delete_metadata_keys(
json_t *kw // NOT owned
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
A JSON object from which metadata keys will be removed. The object is not owned by the function. |
Return Value
Returns 0 upon successful removal of metadata keys.
Notes
Metadata keys are identified as keys that start with ‘__’. Only the first level of keys in the JSON object is checked and removed. This function does not modify nested objects or arrays.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples