yyjson_mut_obj_remove_key

Function yyjson_mut_obj_remove_key 

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

Removes all key-value pair from the object with given key. @param obj The object from which the key-value pair is to be removed. @param key The key, should be a UTF-8 string with null-terminator. @return The first matched value, or NULL if no matched value. @warning This function takes a linear search time.