yyjson_mut_strcpy

Function yyjson_mut_strcpy 

Source
pub unsafe extern "C" fn yyjson_mut_strcpy(
    doc: *mut yyjson_mut_doc,
    str_: *const c_char,
) -> *mut yyjson_mut_val
Expand description

Creates and returns a string value, returns NULL on error. The str should be a null-terminated UTF-8 string. The input string is copied and held by the document.