aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/qtest/json_parse/good-04-react.out
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-14 16:11:52 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-14 23:35:06 +0200
commit4c7cfd5cbc64c34b4532aad0d87e4c81e2277b02 (patch)
tree18619166a65f0f62f33cbb362bda6264d712db08 /libtests/qtest/json_parse/good-04-react.out
parent2a2f7f1bba3dd87bd17f8b819ddeb1a24bb742dd (diff)
downloadqpdf-4c7cfd5cbc64c34b4532aad0d87e4c81e2277b02.tar.zst
JSON reactor: improve handling of nested containers
Call the parent container's item method before calling the child item's start method so we can easily know the current nesting level when nested items are added.
Diffstat (limited to 'libtests/qtest/json_parse/good-04-react.out')
-rw-r--r--libtests/qtest/json_parse/good-04-react.out6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtests/qtest/json_parse/good-04-react.out b/libtests/qtest/json_parse/good-04-react.out
index bd18ccfc..ded004b2 100644
--- a/libtests/qtest/json_parse/good-04-react.out
+++ b/libtests/qtest/json_parse/good-04-react.out
@@ -1,16 +1,16 @@
array start
-array start
array item: [1, 0): []
array start
array item: [2, 0): []
-dictionary start
+array start
array item: [3, 0): {}
+dictionary start
container end: [3, 5): {}
container end: [2, 6): []
-dictionary start
array item: [8, 0): {}
dictionary start
dictionary item: -> [13, 0): {}
+dictionary start
container end: [13, 15): {}
container end: [8, 16): {}
container end: [1, 17): []