We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db4e153 commit dffa522Copy full SHA for dffa522
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/Json/Jsonite/Jsonite.cs
@@ -973,6 +973,9 @@ private void WriteString(string text)
973
writer.Write('t');
974
break;
975
default:
976
+ // Intentionally diverging from the upstream code from xoofx/jsonite. See https://github.com/microsoft/testfx/issues/5120
977
+
978
+ // Also, https://datatracker.ietf.org/doc/html/rfc4627#section-2.5
979
if (c < ' ' || IsHighSurrogate(c) || IsLowSurrogate(c))
980
{
981
writer.Write('\\');
0 commit comments