aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/qtest/json_parse/good-01-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-01-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-01-react.out')
-rw-r--r--libtests/qtest/json_parse/good-01-react.out4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtests/qtest/json_parse/good-01-react.out b/libtests/qtest/json_parse/good-01-react.out
index d6167a6b..e3813bcc 100644
--- a/libtests/qtest/json_parse/good-01-react.out
+++ b/libtests/qtest/json_parse/good-01-react.out
@@ -1,14 +1,14 @@
dictionary start
dictionary item: a -> [6, 11): "bcd"
-array start
dictionary item: e -> [18, 0): []
+array start
array item: [19, 20): 1
array item: [41, 42): 2
array item: [44, 45): 3
array item: [46, 47): 4
array item: [48, 54): "five"
-dictionary start
array item: [56, 0): {}
+dictionary start
dictionary item: six -> [64, 65): 7
dictionary item: 8 -> [72, 73): 9
container end: [56, 74): {}