yyjson_mut_obj_remove

Function yyjson_mut_obj_remove 

Source
pub unsafe extern "C" fn yyjson_mut_obj_remove(
    obj: *mut yyjson_mut_val,
    key: *mut yyjson_mut_val,
) -> *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 string value. @return The first matched value, or NULL if no matched value. @warning This function takes a linear search time.