kw_find_str_in_list()
#
Check if a specified string exists in a JSON array. Works with json_t *
.
Prototype
PUBLIC BOOL kw_find_str_in_list(
json_t *kw,
const char *string
);
Parameters
Key |
Type |
Description |
---|---|---|
|
The JSON array to search. |
|
|
|
The string to search for in the array. |
Return Value
Returns TRUE
if the string exists in the array, otherwise returns FALSE
.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples