Skip to content

Commit c026fee

Browse files
committed
small modifications
1 parent 379c4f5 commit c026fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/frictionlessdata/tableschema/tabledatasource/TableDataSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static TableDataSource fromSource(String input) {
7171
try {
7272
// JSON array generation. If an exception is thrown -> probably CSV data
7373
ArrayNode json = JsonUtil.getInstance().createArrayNode(input);
74-
return new JsonArrayTableDataSource(input);
74+
return new JsonArrayTableDataSource(json);
7575
} catch (Exception ex) {
7676
// JSON parsing failed, treat it as a CSV
7777
return new CsvTableDataSource(input);

0 commit comments

Comments
 (0)