kwid_match_id()

kwid_match_id()#

Check if a JSON object matches a specific kwid. Works with json_t *.

Prototype

PUBLIC BOOL kwid_match_id(
    json_t      *record,
    const char  *kwid
);
        

Parameters

Key

Type

Description

record

json_t *

The JSON object to check.

kwid

const char *

The kwid to match against the record.


Return Value

Returns TRUE if the kwid matches the kwid in the JSON object, otherwise returns FALSE.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples