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

Class JsonImportOptions

Options controlling how JSON text is imported into worksheet cells.

Inheritance
object
ImportOptions
JsonImportOptions
Inherited Members
ImportOptions.Overwrite
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 JsonImportOptions : ImportOptions

Constructors

JsonImportOptions()

Initializes a new JsonImportOptions for the supplied workbook data.

Declaration
public JsonImportOptions()

Properties

ArrayAsTable

Gets or sets whether a top-level JSON array should be treated as tabular data (each element is one row). Default is true.

Declaration
public bool ArrayAsTable { get; set; }
Property Value
Type Description
bool

ConvertNumericOrDate

Gets or sets whether numeric-looking strings and ISO-8601 date strings should be converted to numbers and DateTime values. Default is true.

Declaration
public bool ConvertNumericOrDate { get; set; }
Property Value
Type Description
bool

IgnoreArrayTitle

Gets or sets whether to ignore a "title" key that is a sibling of the array being imported as a table.

Declaration
public bool IgnoreArrayTitle { get; set; }
Property Value
Type Description
bool

IgnoreObjectTitle

Gets or sets whether to ignore a "title" key in object nodes.

Declaration
public bool IgnoreObjectTitle { get; set; }
Property Value
Type Description
bool

ImportColumnNames

Gets or sets whether to import the property names as the first row (header row). Default is true.

Declaration
public bool ImportColumnNames { get; set; }
Property Value
Type Description
bool
Back to top

DR-IT Software documentation

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

Generated by DocFX