mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-11-18 23:27:17 +01:00
Don't add comma for the root container.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user