From 8d2a0eda5a76a341ae6b597f58e874d9e3bd571c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 1 May 2022 14:06:31 -0400 Subject: Add reactors to the JSON parser --- libtests/qtest/json_parse/good-10-react.out | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 libtests/qtest/json_parse/good-10-react.out (limited to 'libtests/qtest/json_parse/good-10-react.out') diff --git a/libtests/qtest/json_parse/good-10-react.out b/libtests/qtest/json_parse/good-10-react.out new file mode 100644 index 00000000..142d95d0 --- /dev/null +++ b/libtests/qtest/json_parse/good-10-react.out @@ -0,0 +1,47 @@ +dictionary start +array start +dictionary item: a -> [9, 0): [] +array item: [10, 11): 1 +array item: [13, 14): 2 +dictionary start +array item: [16, 0): {} +dictionary item: x -> [22, 25): "y" +container end: [16, 26): {} +array item: [28, 29): 3 +dictionary start +array item: [31, 0): {} +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 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 item: [107, 113): "this" +array item: [115, 121): "keep" +array item: [123, 128): "not" +array item: [130, 137): "final" +container end: [106, 138): [ + "keep" +] +container end: [75, 139): [ + "keep" +] +container end: [0, 141): { + "keep": [ + "keep" + ] +} +{ + "keep": [ + "keep" + ] +} -- cgit v1.2.3-70-g09d2