summaryrefslogtreecommitdiff
path: root/lib/jsonParse-persistance.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-04-27 00:32:52 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-11-07 16:41:37 +0000
commit0a72984c07b489d0da08f38f27f7052e964e9c93 (patch)
tree2f42443ba7e90deb64ee5969d490e28eced9a3d4 /lib/jsonParse-persistance.cpp
parentRemove ArrayLike (diff)
downloadilt-0a72984c07b489d0da08f38f27f7052e964e9c93.tar.bz2
ilt-0a72984c07b489d0da08f38f27f7052e964e9c93.tar.xz
ilt-0a72984c07b489d0da08f38f27f7052e964e9c93.zip
Fix the odd difference with arrays and vectors and objects
Diffstat (limited to 'lib/jsonParse-persistance.cpp')
-rw-r--r--lib/jsonParse-persistance.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/jsonParse-persistance.cpp b/lib/jsonParse-persistance.cpp
index ad9fc2a..00b84dd 100644
--- a/lib/jsonParse-persistance.cpp
+++ b/lib/jsonParse-persistance.cpp
@@ -19,6 +19,7 @@ namespace Persistanace {
void
JsonParsePersistance::BeginArray()
{
+ current()->beforeValue(stk);
current()->BeginArray(stk);
}
@@ -56,6 +57,7 @@ namespace Persistanace {
JsonParsePersistance::EndArray()
{
stk.pop();
+ stk.pop();
}
void