When importing JSON to OpenRefine through 'Create Project', if there is a tab inside a value in the JSON file, the import succeeds but only imports data up to the tab character. e.g. JSON:
{ "rows": [ { "Content": "A" }, { "Content": " B" }, { "Content": "C" } ] }
(tab character is before the 'B')
Since tab is an illegal character in this position (should be escaped as \t) it makes sense for the import to fail - but failing silently is a problem.
Not sure what the best solution is - three possibilities:
- Import should fail completely with an error
- Import should succeed with the data truncated as currently but with feedback to the user that the truncation has occurred and why
- Import should succeed with full data, converting illegal character to escaped version
When importing JSON to OpenRefine through 'Create Project', if there is a tab inside a value in the JSON file, the import succeeds but only imports data up to the tab character. e.g. JSON:
{ "rows": [ { "Content": "A" }, { "Content": " B" }, { "Content": "C" } ] }(tab character is before the 'B')
Since tab is an illegal character in this position (should be escaped as \t) it makes sense for the import to fail - but failing silently is a problem.
Not sure what the best solution is - three possibilities: