yyjson_equals_strn

Function yyjson_equals_strn 

Source
pub unsafe extern "C" fn yyjson_equals_strn(
    val: *mut yyjson_val,
    str_: *const c_char,
    len: usize,
) -> bool
Expand description

Returns whether the JSON value is equals to a string. The str should be a UTF-8 string, null-terminator is not required. Returns false if input is NULL or type is not string.