# JsonSaveOptions Class

> JsonSaveOptions class in the TX Sheet Control .NET API: JSON output contains a record array or all selected rows as arrays; no workbook metadata is written.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Server`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Inherits:** `TXTextControl.TXSheetControl.Server.SaveOptions` › `TXTextControl.TXSheetControl.Server.TabularSaveOptions`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > JsonSaveOptions Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/jsonsaveoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/jsonsaveoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/jsonsaveoptions/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/jsonsaveoptions/#syntax)
- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/jsonsaveoptions/#members)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/jsonsaveoptions/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/jsonsaveoptions/#see-also)

---

## In This Section

- [JsonSaveOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/jsonsaveoptions/constructor/llms.txt): JsonSaveOptions constructor in the TX Sheet Control .NET API, with its syntax, a C# example and remarks on awaiting tasks and handles.
- [JsonSaveOptions.Format Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/jsonsaveoptions/format-property/llms.txt): JsonSaveOptions.Format property in the TX Sheet Control .NET API: records (default) uses header keys; rows writes all selected rows as arrays.
- [JsonSaveOptions.Pretty Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/jsonsaveoptions/pretty-property/llms.txt): JsonSaveOptions.Pretty property in the TX Sheet Control .NET API: Indent JSON by two spaces; defaults to false. Covers its type bool? and a C# example.

---

## Nearby

- **Previous:** [History.UndoAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/history/undoasync-method/llms.txt)
- **Next:** [JsonSaveOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/jsonsaveoptions/constructor/llms.txt)
