![]() |
JSON Parser
1.0
|
| boolean default_search_function_array_partial_string_value | ( | const void * | element, |
| const void * | key | ||
| ) |
This search function searches the elements of a specified JSON Array List looking for a match of element string value to the partial key value string.
It can be used on both JSON Object lists and Array lists. It will only attempt to find a match with elements that have the value_type of JSON_string. It will ignore any elements with a different value type.
Unlike the general purpose search function default_search_function_array_values() these value type specific search functions use a simple non-structure key to perform the search, so using default_search_function_partial_array_string_value() as your search function you could use list_simple_search(root_list, "search text");