yyjson_set_strn

Function yyjson_set_strn 

Source
pub unsafe extern "C" fn yyjson_set_strn(
    val: *mut yyjson_val,
    str_: *const c_char,
    len: usize,
) -> bool
Expand description

Set the value to string (with length). Returns false if input is NULL or val is object or array. @warning This will modify the immutable value, use with caution.