summaryrefslogtreecommitdiffstats
path: root/test/json-structure/nested-arrays-mixed-2
diff options
context:
space:
mode:
Diffstat (limited to 'test/json-structure/nested-arrays-mixed-2')
-rw-r--r--test/json-structure/nested-arrays-mixed-2/check.txt3
-rw-r--r--test/json-structure/nested-arrays-mixed-2/input.json15
2 files changed, 18 insertions, 0 deletions
diff --git a/test/json-structure/nested-arrays-mixed-2/check.txt b/test/json-structure/nested-arrays-mixed-2/check.txt
new file mode 100644
index 0000000..1347175
--- /dev/null
+++ b/test/json-structure/nested-arrays-mixed-2/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-2/input.json b/test/json-structure/nested-arrays-mixed-2/input.json
new file mode 100644
index 0000000..b63feb3
--- /dev/null
+++ b/test/json-structure/nested-arrays-mixed-2/input.json
@@ -0,0 +1,15 @@
+[
+ [
+ 3,
+ 4,
+ 5
+ ],
+ [
+ {
+ "name": "Jane Doe",
+ "age": -1
+ },
+ 1,
+ 2
+ ]
+]