|
|
|
@ -24,7 +24,7 @@ const std::vector<TestTriple> testValues =
|
|
|
|
|
{
|
|
|
|
|
{ "" , R"("")" , R"("")" }, // always start with the simple case ;-)
|
|
|
|
|
{ "123" , R"("123")" , R"("123")" }, // some ASCII digits. Still easy.
|
|
|
|
|
{ "\n\\\b", R"("\n\\b")" , R"("\n\\b")" }, // backslash escapes for ASCII and control chars
|
|
|
|
|
{ "\n\\\b", R"("\n\\\b")" , R"("\n\\\b")" }, // backslash escapes for ASCII and control chars
|
|
|
|
|
{ "\x1f" , R"("\u001F")" , R"("\u001F")" }, // C compiler knows \x##, but JSON does not
|
|
|
|
|
{ "\x7f" , R"("\u007F")" , R"("\u007F")" }, // C compiler knows \x##, but JSON does not
|
|
|
|
|
{ "äöü" , R"("\u00E4\u00F6\u00FC")" , R"("äöü")" },
|
|
|
|
|