YYJSON_WRITE_ALLOW_INVALID_UNICODE

Constant YYJSON_WRITE_ALLOW_INVALID_UNICODE 

Source
pub const YYJSON_WRITE_ALLOW_INVALID_UNICODE: yyjson_write_flag = 32;
Expand description

Allow invalid unicode when encoding string values (non-standard). Invalid characters in string value will be copied byte by byte. If YYJSON_WRITE_ESCAPE_UNICODE flag is also set, invalid character will be escaped as U+FFFD (replacement character). This flag does not affect the performance of correctly encoded strings.