• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class JsonExportOptions

Options controlling how a worksheet range is exported to JSON.

Inheritance
object
JsonExportOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX