Skip to content

Commit eff3ac5

Browse files
Fixes for reading JSON containing array/object fields and writing it out again.
Fixes for serializing array/object fields to CSV
1 parent 4ded924 commit eff3ac5

File tree

2 files changed

+52
-1
lines changed

2 files changed

+52
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>io.frictionlessdata</groupId>
55
<artifactId>tableschema-java</artifactId>
6-
<version>0.2.0-SNAPSHOT</version>
6+
<version>0.2.1-SNAPSHOT</version>
77
<packaging>jar</packaging>
88
<issueManagement>
99
<url>https://github.com/frictionlessdata/tableschema-java/issues</url>
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
[ {
2+
"notes" : null,
3+
"gender" : "m",
4+
"is_management" : false,
5+
"employment_start" : "2017-07-30",
6+
"last_name" : "Doe",
7+
"daily_end" : "06:30:00",
8+
"photo" : "xxx",
9+
"position_title" : null,
10+
"daily_start" : "10:23:00",
11+
"extra" : {
12+
"key" : "value"
13+
},
14+
"home_location" : "-101.473911,38.704022",
15+
"interests" : [ "cooking" ],
16+
"first_name" : "John",
17+
"period_employed" : "2.6",
18+
"age" : 50
19+
}, {
20+
"notes" : "-91.254898, 35.6087",
21+
"gender" : "m",
22+
"is_management" : false,
23+
"employment_start" : "2018-09-13",
24+
"last_name" : "McKrank",
25+
"daily_end" : "03:30:00",
26+
"photo" : "xxx",
27+
"position_title" : "Senior Janitor",
28+
"daily_start" : "09:30:00",
29+
"extra" : null,
30+
"home_location" : "-91.254898,35.6087",
31+
"interests" : [ "sports", "reading" ],
32+
"first_name" : "Frank",
33+
"period_employed" : "0.4",
34+
"age" : 22
35+
}, {
36+
"notes" : "[“cooking”]",
37+
"gender" : "f",
38+
"is_management" : true,
39+
"employment_start" : "2007-01-30",
40+
"last_name" : "Vester",
41+
"daily_end" : "10:00:00",
42+
"photo" : "xxx",
43+
"position_title" : "SVP",
44+
"daily_start" : "02:00:00",
45+
"extra" : null,
46+
"home_location" : "-101.473911,38.704022",
47+
"interests" : [ ],
48+
"first_name" : "Deborah",
49+
"period_employed" : "12",
50+
"age" : 34
51+
} ]

0 commit comments

Comments
 (0)