1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-04-22 12:07:20 +02:00

Don't add comma for the root container.

This commit is contained in:
Sandu Liviu Catalin
2022-09-17 23:42:48 +03:00
parent 60119ff8fa
commit 08106156c4
+1 -1
View File
@@ -281,7 +281,7 @@ SQRESULT CtxJSON::SerializeParams(HSQUIRRELVM vm)
CloseArray();
}
// Remove trailing separator, if any
else if (mOutput.back() == ',')
if (mOutput.back() == ',')
{
mOutput.pop_back();
}