to_json function in http://oss.sheetjs.com/js-xlsx is not correct #896
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#896
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
when i use the javascript of the "http://oss.sheetjs.com/js-xlsx" ,
1, choose the "Output Format:" to JSON
2, click the button "or click here to select a file" to import one xlsx file
3, i get the result that is not expected.
so i change the to_json function with the script of http://oss.sheetjs.com/, then it works good.
the to_json function should be :
The default behavior is to assume the first row contains header data, which is why it looks weird if the sheet isn't properly structured. The
header:1
option generates an array of arrays.Feel free to submit a Pull Request :) http://oss.sheetjs.com/js-xlsx is hosted in the gh-pages branch: https://github.com/SheetJS/js-xlsx/blob/gh-pages/index.html#L78 is the relevant code segment