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:
parent
60119ff8fa
commit
08106156c4
@ -281,7 +281,7 @@ SQRESULT CtxJSON::SerializeParams(HSQUIRRELVM vm)
|
|||||||
CloseArray();
|
CloseArray();
|
||||||
}
|
}
|
||||||
// Remove trailing separator, if any
|
// Remove trailing separator, if any
|
||||||
else if (mOutput.back() == ',')
|
if (mOutput.back() == ',')
|
||||||
{
|
{
|
||||||
mOutput.pop_back();
|
mOutput.pop_back();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user