Sheet2JSONOpts
On this page
Options for converting a worksheet to an array of JSON objects
interface Sheet2JSONOpts extends WorksheetCellBudgetOptions
Properties
| Name | Type | Required | Description |
|---|---|---|---|
maxWorksheetCells | number | No | Maximum 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 | "A" | number | string[] | No | "A" for column-letter keys, number for 1-indexed row keys, string[] for custom headers |
range | any | No | Restrict output to a specific range (Range object, A1 string, or row number) |
blankrows | boolean | No | If true, include blank rows in output |
defval | any | No | Default value for missing cells |
raw | boolean | No | If true, use raw values (v) instead of formatted text (w) |
skipHidden | boolean | No | If true, skip hidden rows and columns |
rawNumbers | boolean | No | If true, emit raw numeric values for non-date number cells |
UTC | boolean | No | If true, interpret dates as UTC |
dateNF | NumberFormat | No | Override date format for date cells |
dateOutput | "iso" | No | If "iso", emit date/datetime cells as machine-readable ISO-like strings |
date1904 | boolean | No | If true, use 1904 date system for date serial numbers |