kw_filter_private()
#
Create a new JSON object by filtering out private keys (keys starting with “_”). Works with json_t *
.
Prototype
PUBLIC json_t *kw_filter_private(
json_t *kw
);
Parameters
Key |
Type |
Description |
---|---|---|
|
The JSON object to filter. |
Return Value
Returns a new json_t *
object without private keys, or NULL
on failure.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples