Table of Contents

Class JsonExportSettings

Namespace
OfficeOpenXml
Assembly
EPPlus.dll

Base class for settings used when exporting a range or a table as Json.

public abstract class JsonExportSettings
Inheritance
JsonExportSettings
Derived
Inherited Members

Constructors

JsonExportSettings()

protected JsonExportSettings()

Properties

AddDataTypesOn

Set the dataType attribute depending on the data. The attribute can be set per column or per cell.

public abstract eDataTypeOn AddDataTypesOn { get; set; }

Property Value

eDataTypeOn

CellsElementName

The name of the element containg the cells data

public string CellsElementName { get; set; }

Property Value

string

ColumnsElementName

The name of the element containing the columns data

public string ColumnsElementName { get; set; }

Property Value

string

Culture

The CulturInfo used when formatting values.

public CultureInfo Culture { get; set; }

Property Value

CultureInfo

DataIsTransposed

Set if data in worksheet is transposed.

public bool DataIsTransposed { get; set; }

Property Value

bool

Encoding

Encoding for the output

public Encoding Encoding { get; set; }

Property Value

Encoding

Minify

If the json is minified when written.

public bool Minify { get; set; }

Property Value

bool

RootElementName

The name of the root element

public abstract string RootElementName { get; set; }

Property Value

string

RowsElementName

The name of the element containg the rows data

public string RowsElementName { get; set; }

Property Value

string

WriteComments

Write the comment attribute if an comment exists in a cell.

public bool WriteComments { get; set; }

Property Value

bool

Write the uri attribute if an hyperlink exists in a cell

public bool WriteHyperlinks { get; set; }

Property Value

bool