yyjson_mut_doc_set_root

Function yyjson_mut_doc_set_root 

Source
pub unsafe extern "C" fn yyjson_mut_doc_set_root(
    doc: *mut yyjson_mut_doc,
    root: *mut yyjson_mut_val,
)
Expand description

Sets the root value of this JSON document. Pass NULL to clear root value of the document.