Skip to content

Commit 9a1fd16

Browse files
committed
Merge pull request #104 from OpenDataServices/64-readme
Start marking some major changes to the README and add examples
2 parents fa1877e + e0ae39e commit 9a1fd16

File tree

13 files changed

+483
-53
lines changed

13 files changed

+483
-53
lines changed

README.md

Lines changed: 305 additions & 53 deletions
Large diffs are not rendered by default.

examples/array.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"main": [
3+
{
4+
"id": "1",
5+
"a": [
6+
{
7+
"b": "2",
8+
"c": "3"
9+
},
10+
{
11+
"b": "4",
12+
"c": "5"
13+
}
14+
],
15+
"d": "6"
16+
},
17+
{
18+
"id": "7",
19+
"a": [
20+
{
21+
"b": "8",
22+
"c": "9"
23+
},
24+
{
25+
"b": "10",
26+
"c": "11"
27+
}
28+
],
29+
"d": "12"
30+
}
31+
]
32+
}

examples/array_multisheet.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"main": [
3+
{
4+
"id": "1",
5+
"d": "6",
6+
"a": [
7+
{
8+
"b": "2",
9+
"c": "3"
10+
},
11+
{
12+
"b": "4",
13+
"c": "5"
14+
}
15+
]
16+
},
17+
{
18+
"id": "7",
19+
"d": "12",
20+
"a": [
21+
{
22+
"b": "8",
23+
"c": "9"
24+
},
25+
{
26+
"b": "10",
27+
"c": "11"
28+
}
29+
]
30+
}
31+
]
32+
}

examples/array_multisheet/a.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
id,a/0/b,a/0/c
2+
1,2,3
3+
1,4,5
4+
7,8,9
5+
7,10,11

examples/array_multisheet/main.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
id,d
2+
1,6
3+
7,12

examples/array_pointer/main.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
id,a/0/b,a/0/c,a/1/b,a/1/c,d
2+
1,2,3,4,5,6
3+
7,8,9,10,11,12
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
id,a/0/b,a/0/c,d
2+
1,2,3,6
3+
1,4,5,6
4+
7,8,9,12
5+
7,10,11,12

examples/double_array.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"main": [
3+
{
4+
"id": "1",
5+
"d": "6",
6+
"a": [
7+
{
8+
"id": "2",
9+
"b": [
10+
{
11+
"c": "3"
12+
},
13+
{
14+
"c": "3a"
15+
}
16+
]
17+
},
18+
{
19+
"id": "4",
20+
"b": [
21+
{
22+
"c": "5"
23+
},
24+
{
25+
"c": "5a"
26+
}
27+
]
28+
}
29+
]
30+
},
31+
{
32+
"id": "7",
33+
"d": "12",
34+
"a": [
35+
{
36+
"id": "8",
37+
"b": [
38+
{
39+
"c": "9"
40+
},
41+
{
42+
"c": "9a"
43+
}
44+
]
45+
},
46+
{
47+
"id": "10",
48+
"b": [
49+
{
50+
"c": "11"
51+
},
52+
{
53+
"c": "11a"
54+
}
55+
]
56+
}
57+
]
58+
}
59+
]
60+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
id,a/0/id
2+
1,2
3+
1,4
4+
7,8
5+
7,10
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
id,a/0/id,a/0/b/0/c
2+
1,2,3
3+
1,2,3a
4+
1,4,5
5+
1,4,5a
6+
7,8,9
7+
7,8,9a
8+
7,10,11
9+
7,10,11a

0 commit comments

Comments
 (0)