kwid_match_nid()#
Check if a JSON object matches a specific nid (Node ID). Works with json_t *.
Prototype
PUBLIC BOOL kwid_match_nid(
json_t *record,
const char *nid
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
The JSON object to check. |
|
|
|
The |
Return Value
Returns TRUE if the nid matches the nid 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