# JsonSaveOptions Interface

> JsonSaveOptions interface in the Node.js TypeScript API: JSON imports accept arrays of records or arrays of rows. Export defaults to records.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > JsonSaveOptions Interface
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/llms-full.txt

---

## On This Page

- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/#members)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/#see-also)

---

## In This Section

- [JsonSaveOptions.format Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/format-property/llms.txt): JsonSaveOptions.format property in the TX Sheet Control TypeScript API for Node.js: Records use header names as keys; rows retain all selected rows as arrays.
- [JsonSaveOptions.hasHeaderRow Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/hasheaderrow-property/llms.txt): JsonSaveOptions.hasHeaderRow property in the TX Sheet Control TypeScript API for Node.js: For JSON records and XML, use the first selected row as field names.
- [JsonSaveOptions.maxCells Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/maxcells-property/llms.txt): JsonSaveOptions.maxCells property in the TX Sheet Control TypeScript API for Node.js: Maximum selected rectangular cell count, including blanks.
- [JsonSaveOptions.maxFileBytes Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/maxfilebytes-property/llms.txt): JsonSaveOptions.maxFileBytes property in the TX Sheet Control TypeScript API for Node.js: Maximum encoded output bytes; defaults to 32 MiB.
- [JsonSaveOptions.pretty Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/pretty-property/llms.txt): JsonSaveOptions.pretty property in the TX Sheet Control TypeScript API for Node.js: Indent exported JSON by two spaces. Default false.
- [JsonSaveOptions.range Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/range-property/llms.txt): JsonSaveOptions.range property in the TX Sheet Control TypeScript API for Node.js: Inclusive A1 rectangle. Defaults to A1 through the last populated cell.
- [JsonSaveOptions.sheetName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/sheetname-property/llms.txt): JsonSaveOptions.sheetName property in the TX Sheet Control TypeScript API for Node.js: Worksheet name; defaults to the active worksheet.

---

## Nearby

- **Previous:** [HeaderFooterSettings.scaleWithDocument Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/headerfootersettings/scalewithdocument-property/llms.txt)
- **Next:** [JsonSaveOptions.format Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/jsonsaveoptions/format-property/llms.txt)
