From c484829272cd13a738e35412498e12f2c9a194ac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 07:48:59 +0200 Subject: Adding upstream version 0.19.2. Signed-off-by: Daniel Baumann --- test/json-structure/nested-arrays-mixed/check.txt | 3 +++ test/json-structure/nested-arrays-mixed/input.json | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 test/json-structure/nested-arrays-mixed/check.txt create mode 100644 test/json-structure/nested-arrays-mixed/input.json (limited to 'test/json-structure/nested-arrays-mixed') diff --git a/test/json-structure/nested-arrays-mixed/check.txt b/test/json-structure/nested-arrays-mixed/check.txt new file mode 100644 index 0000000..1347175 --- /dev/null +++ b/test/json-structure/nested-arrays-mixed/check.txt @@ -0,0 +1,3 @@ +$array[2].array(*)[3].object['age'].value +$array[2].array(*)[3].object['name'].value +$array[2].array(*)[3].value[1,2] diff --git a/test/json-structure/nested-arrays-mixed/input.json b/test/json-structure/nested-arrays-mixed/input.json new file mode 100644 index 0000000..d0d7617 --- /dev/null +++ b/test/json-structure/nested-arrays-mixed/input.json @@ -0,0 +1,15 @@ +[ + [ + { + "name": "Jane Doe", + "age": -1 + }, + 1, + 2 + ], + [ + 3, + 4, + 5 + ] +] -- cgit v1.2.3