kw_delete_private_keys()
#
Remove all private keys (keys starting with “_”) from a JSON object. Works with json_t *
.
Prototype
PUBLIC int kw_delete_private_keys(
json_t *kw
);
Parameters
Key |
Type |
Description |
---|---|---|
|
The JSON object from which private keys will be removed. |
Return Value
Returns the number of private 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