mirror of
https://github.com/nlohmann/json.git
synced 2025-07-13 20:21:48 +03:00
merged #111
This commit is contained in:
@ -4692,6 +4692,8 @@ class basic_json
|
||||
// print character c as \uxxxx
|
||||
sprintf(&result[pos + 1], "u%04x", int(c));
|
||||
pos += 6;
|
||||
// overwrite trailing null character
|
||||
result[pos] = '\\';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user