Sheet2JSONOpts
Options for converting a worksheet to an array of JSON objects
Interface: Sheet2JSONOpts
Options for converting a worksheet to an array of JSON objects
Hierarchy
Extends:
WorksheetCellBudgetOptions
Properties
maxWorksheetCells
optional
maxWorksheetCells: numberMaximum cumulative cell work per sheet. This counts explicit cells plus generated column, hyperlink, span, and export positions. XLSX reads default to 10,000,000; exports default to 1,000,000.
header
optional
header: number | string[] | "A""A" for column-letter keys, number for 1-indexed row keys, string[] for custom headers
range
optional
range: anyRestrict output to a specific range (Range object, A1 string, or row number)
blankrows
optional
blankrows: booleanIf true, include blank rows in output
defval
optional
defval: anyDefault value for missing cells
raw
optional
raw: booleanIf true, use raw values (v) instead of formatted text (w)
skipHidden
optional
skipHidden: booleanIf true, skip hidden rows and columns
rawNumbers
optional
rawNumbers: booleanIf true, emit raw numeric values for non-date number cells
UTC
optional
UTC: booleanIf true, interpret dates as UTC
dateNF
optional
dateNF: NumberFormatOverride date format for date cells
dateOutput
optional
dateOutput: "iso"If "iso", emit date/datetime cells as machine-readable ISO-like strings
date1904
optional
date1904: booleanIf true, use 1904 date system for date serial numbers
Source
src/types.ts:589