Appends text as a JSON string with its quotes. Control characters, quotes and backslashes
are escaped; bytes that are not valid UTF-8 become U+FFFD so the output is always valid JSON.
append_json_string :: (builder: *String_Builder, text: string)
Appends text as a JSON string with its quotes. Control characters, quotes and backslashes
are escaped; bytes that are not valid UTF-8 become U+FFFD so the output is always valid JSON.
Parameters
- builder: *String_Builder
- text: string