pub unsafe extern "C" fn yyjson_mut_obj_add_strn(
doc: *mut yyjson_mut_doc,
obj: *mut yyjson_mut_val,
key: *const c_char,
val: *const c_char,
len: usize,
) -> boolExpand description
Adds a string value at the end of the object.
The key should be a null-terminated UTF-8 string.
The val should be a UTF-8 string, null-terminator is not required.
The len should be the length of the val, in bytes.
This function allows duplicated key in one object.
@warning The key/value strings are not copied, you should keep these strings unmodified for the lifetime of this JSON document.