diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-05-14 16:11:52 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-05-14 23:35:06 +0200 |
commit | 4c7cfd5cbc64c34b4532aad0d87e4c81e2277b02 (patch) | |
tree | 18619166a65f0f62f33cbb362bda6264d712db08 /libtests/qtest/json_parse/good-10-react.out | |
parent | 2a2f7f1bba3dd87bd17f8b819ddeb1a24bb742dd (diff) | |
download | qpdf-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-10-react.out')
-rw-r--r-- | libtests/qtest/json_parse/good-10-react.out | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libtests/qtest/json_parse/good-10-react.out b/libtests/qtest/json_parse/good-10-react.out index 142d95d0..3cceeb2f 100644 --- a/libtests/qtest/json_parse/good-10-react.out +++ b/libtests/qtest/json_parse/good-10-react.out @@ -1,30 +1,30 @@ dictionary start -array start dictionary item: a -> [9, 0): [] +array start array item: [10, 11): 1 array item: [13, 14): 2 -dictionary start array item: [16, 0): {} +dictionary start dictionary item: x -> [22, 25): "y" container end: [16, 26): {} array item: [28, 29): 3 -dictionary start array item: [31, 0): {} +dictionary start dictionary item: keep -> [40, 61): "not in final output" container end: [31, 62): { "keep": "not in final output" } container end: [9, 63): [] -array start dictionary item: keep -> [75, 0): [] +array start array item: [76, 77): 1 array item: [79, 83): null array item: [85, 86): 2 array item: [88, 93): false array item: [95, 101): "keep" array item: [103, 104): 3 -array start array item: [106, 0): [] +array start array item: [107, 113): "this" array item: [115, 121): "keep" array item: [123, 128): "not" |