Class JsonExportOptions
Options controlling how a worksheet range is exported to JSON.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class JsonExportOptions
Constructors
JsonExportOptions()
Initializes a new JsonExportOptions for the supplied workbook data.
Declaration
public JsonExportOptions()
Properties
HasHeaderRow
Gets or sets whether the first row of the range contains column headers to use as JSON property names. Default is true. When false, property names are generated as "Column1", "Column2", etc.
Declaration
public bool HasHeaderRow { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Indent
Specifies the indentation string for pretty-printing. Set to null or empty string for compact (minified) output.
Declaration
public string Indent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |