kw_delete_metadata_keys()
#
Remove all metadata keys (keys starting with “__”) from a JSON object. Works with json_t *
.
Prototype
PUBLIC int kw_delete_metadata_keys(
json_t *kw
);
Parameters
Key |
Type |
Description |
---|---|---|
|
The JSON object from which metadata keys will be removed. |
Return Value
Returns the number of metadata keys removed, or 0
if none were found.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples