bson_utf8_escape_for_json (3) Linux Manual Page
bson_utf8_escape_for_json() – Escapes the string utf8 to be placed inside of a JSON string. Synopsischar * bson_utf8_escape_for_json (const char *utf8, ssize_t utf8_len);Parametersutf8 A UTF-8 encoded string.utf8_len The length of utf8 in bytes or -1 if it is NULL terminated.DescriptionEscapes the string utf8 to be placed inside of a JSON string. ReturnsA newly allocated string that…
