API / interfaces / json2sheetopts
Interface: JSON2SheetOpts
Options for creating a worksheet from an array of JSON objects
Hierarchy
Extends:
CommonOptions
Properties
WTF
optional
WTF: booleanIf true, throw errors on unexpected situations instead of silently recovering
bookVBA
optional
bookVBA: booleanIf true, expose VBA macro data in workbook.vbaraw
sheetStubs
optional
sheetStubs: booleanIf true, include stub cells for empty cells within the used range
cellStyles
optional
cellStyles: booleanIf true, include style/theme information on cells
password
optional
password: stringWorkbook password for encrypted files
header
optional
header: string[]Explicit header row keys (overrides object key order)
skipHeader
optional
skipHeader: booleanIf true, do not emit a header row
dense
optional
dense: booleanIf true, use dense (2D array) storage mode
dateNF
optional
dateNF: NumberFormatDate format string for date cells
cellDates
optional
cellDates: booleanIf true, store dates as Date objects instead of serial numbers
UTC
optional
UTC: booleanIf true, interpret dates as UTC
date1904
optional
date1904: booleanIf true, use 1904 date system for date serial numbers
origin
optional
origin: string | number | CellAddressStarting cell for data: row number, A1 reference, or CellAddress
nullError
optional
nullError: booleanIf true, convert null values to #NULL! error cells
Source
src/types.ts