yyjson_mut_obj_remove_str

Function yyjson_mut_obj_remove_str 

Source
pub unsafe extern "C" fn yyjson_mut_obj_remove_str(
    obj: *mut yyjson_mut_val,
    key: *const c_char,
) -> *mut yyjson_mut_val
Expand description

Removes all key-value pairs for the given key. Returns the first value to which the specified key is mapped or NULL if this object contains no mapping for the key. The key should be a null-terminated UTF-8 string.

@warning This function takes a linear search time.