1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01: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

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();
}