mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-21 21:17:11 +02:00
Include comma after separator braces.
This commit is contained in:
1 parent
f4720ae77a
commit
60119ff8fa
1 file changed
+4
@@ -172,6 +172,8 @@ CtxJSON & CtxJSON::CloseArray()
|
||||
{
|
||||
mOutput.push_back(']');
|
||||
}
|
||||
// Move the comma after the closing character
|
||||
mOutput.push_back(',');
|
||||
// Go back one level
|
||||
Retreat();
|
||||
// Allow chaining
|
||||
@@ -202,6 +204,8 @@ CtxJSON & CtxJSON::CloseObject()
|
||||
{
|
||||
mOutput.push_back('}');
|
||||
}
|
||||
// Move the comma after the closing character
|
||||
mOutput.push_back(',');
|
||||
// Go back one level
|
||||
Retreat();
|
||||
// Allow chaining
|
||||
|
||||
Reference in new issue
Block a user