1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-13 20:21:48 +03:00
This commit is contained in:
Niels
2015-07-01 23:08:54 +02:00
parent abd741708d
commit 82a6995306
3 changed files with 14 additions and 2 deletions

View File

@ -3978,7 +3978,7 @@ class basic_json
{
// control characters (everything between 0x00 and 0x1f)
// -> create four-digit hex representation
o << "\\u" << std::hex << std::setw(4) << std::setfill('0') << int(c);
o << "\\u" << std::hex << std::setw(4) << std::setfill('0') << int(c) << std::dec;
}
else
{