summaryrefslogtreecommitdiffstats
path: root/test/json-mapped/nested-repeats/map.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
commitc484829272cd13a738e35412498e12f2c9a194ac (patch)
treea1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/json-mapped/nested-repeats/map.json
parentInitial commit. (diff)
downloadliborcus-upstream.tar.xz
liborcus-upstream.zip
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/json-mapped/nested-repeats/map.json')
-rw-r--r--test/json-mapped/nested-repeats/map.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/json-mapped/nested-repeats/map.json b/test/json-mapped/nested-repeats/map.json
new file mode 100644
index 0000000..668863e
--- /dev/null
+++ b/test/json-mapped/nested-repeats/map.json
@@ -0,0 +1,22 @@
+{
+ "sheets": ["nested repeats"],
+
+ "ranges": [
+ {"sheet": "nested repeats",
+ "row": 3,
+ "column": 2,
+
+ "fields": [
+ {"path": "$['data'][]['category']"},
+ {"path": "$['data'][]['records'][]['id']"},
+ {"path": "$['data'][]['records'][]['ref']"},
+ {"path": "$['data'][]['region']"}
+ ],
+
+ "row-groups": [
+ {"path": "$['data']"},
+ {"path": "$['data'][]['records']"}
+ ]
+ }
+ ]
+}