JSON Parser  1.0
int default_compare_function_array_double_values ( const void *  element,
const void *  key 
)

This compare function evaluates the elements of a specified JSON Array List It can be used on both JSON Object lists and Array lists.

It will only attempt to evaluate elements that have the value_type of JSON_double. It will return an "is equal" evaluation if the element is not a double based number (i.e a fractional or exponent number, a non-integer).

It is beyond the scope of this package to provide custom compare functions. If the caller needs to sort a list containing mixed number types, then they can either write a custom compare function, or copy the list elements to another list, converting the integers to long double, and then using this default compare function.