yyjson_mut_obj_iter_init

Function yyjson_mut_obj_iter_init 

Source
pub unsafe extern "C" fn yyjson_mut_obj_iter_init(
    obj: *mut yyjson_mut_val,
    iter: *mut yyjson_mut_obj_iter,
) -> bool
Expand description

Initialize an iterator for this object.

@param obj The object to be iterated over. If this parameter is NULL or not an array, iter will be set to empty. @param iter The iterator to be initialized. If this parameter is NULL, the function will fail and return false. @return true if the iter has been successfully initialized.

@note The iterator does not need to be destroyed.