pub unsafe extern "C" fn yyjson_mut_val_mut_copy(
doc: *mut yyjson_mut_doc,
val: *mut yyjson_mut_val,
) -> *mut yyjson_mut_valExpand description
Copies and returns a new mutable value from input, returns NULL on error.
This makes a deep-copy on the mutable value.
The memory was managed by mutable document.
@note mut_val -> mut_val.
@warning This function is recursive and may cause a stack overflow
if the object level is too deep.