resolved issue #582, to make method sheet_to_json options supported skipUndefined and defaultValue #583
No reviewers
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#583
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
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?
Add options for sheet_to_json method:
Changes Unknown when pulling
ee97102b54
on jimjin:master into ** on SheetJS:master**.Changes Unknown when pulling
ee97102b54
on jimjin:master into ** on SheetJS:master**.Changes Unknown when pulling
ee97102b54
on jimjin:master into ** on SheetJS:master**.Changes Unknown when pulling
ee97102b54
on jimjin:master into ** on SheetJS:master**.Changes Unknown when pulling
ee97102b54
on jimjin:master into ** on SheetJS:master**.Changes Unknown when pulling
ee97102b54
on jimjin:master into ** on SheetJS:master**.Changes Unknown when pulling
ee97102b54
on jimjin:master into ** on SheetJS:master**.Changes Unknown when pulling
ea22b9e2a1
on jimjin:master into ** on SheetJS:master**.Changes Unknown when pulling
ea22b9e2a1
on jimjin:master into ** on SheetJS:master**.I'm going to rework the pull as follows:
the
skipUndefined
logic will be the default -- JSON writer generating the "undefined" key is a bugthe
defaultValue
parameter will be renameddefault
. Ifdefault
is specified, missing data will be given that value. Ifdefault
is not specified the data will be skippedRelated issues: #582 h/t @jimjin , #147 h/t @jtadmor
On second thought, it's bad to call it
default
, will stick todefval
Pull request closed