yyjson_mut_get_num

Function yyjson_mut_get_num 

Source
pub unsafe extern "C" fn yyjson_mut_get_num(
    val: *mut yyjson_mut_val,
) -> f64
Expand description

Returns the content and typecast to double if the value is number. Returns 0.0 if val is NULL or type is not number(uint/sint/real).