kw_filter_metadata()

kw_filter_metadata()#

Create a new JSON object by filtering out metadata keys (keys starting with “__”). Works with json_t *.

Prototype

PUBLIC json_t *kw_filter_metadata(
    json_t      *kw
);
        

Parameters

Key

Type

Description

kw

json_t *

The JSON object to filter.


Return Value

Returns a new json_t * object without metadata 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