From 0a72984c07b489d0da08f38f27f7052e964e9c93 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 27 Apr 2021 00:32:52 +0100 Subject: Fix the odd difference with arrays and vectors and objects --- lib/jsonParse-persistance.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/jsonParse-persistance.cpp') 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 -- cgit v1.2.3