mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Include comma after separator braces.
This commit is contained in:
parent
f4720ae77a
commit
60119ff8fa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user