From 37105710ee0b332a3020d4b3220c95b8f4267555 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Wed, 19 Jan 2022 09:31:28 -0500 Subject: Implement JSONHandler for recursively processing JSON --- libtests/qtest/json_handler/json_handler.out | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libtests/qtest/json_handler/json_handler.out (limited to 'libtests/qtest/json_handler/json_handler.out') diff --git a/libtests/qtest/json_handler/json_handler.out b/libtests/qtest/json_handler/json_handler.out new file mode 100644 index 00000000..13554af3 --- /dev/null +++ b/libtests/qtest/json_handler/json_handler.out @@ -0,0 +1,22 @@ +-- scalar -- +.: string: potato +-- all -- +.five[0]: string: x +.five[1]: bool: false +.five[2]: string: y +.five[3]: null +.five[4]: bool: true +.four: json: [ + "a", + 1 +] +.one: string: potato +.phour: json: null +.six.a.Q: json: "baaa" +.six.a.b: string: quack +.six.b: string: moo +.three: bool: true +.two: number: 3.14 +-- errors -- +bad type at top: JSON handler: value at . is not of expected type +unexpected key: JSON handler found unexpected key x in object at . -- cgit v1.2.3-54-g00ecf