JSON Parser  1.0
boolean default_search_function_array_integer_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 integer value to the key value integer.

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_integer. 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_array_integer_value() as your search function you could use list_simple_search(root_list, 42);