Class JsonExportSettings
Base class for settings used when exporting a range or a table as Json.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public abstract class JsonExportSettings
Properties
AddDataTypesOn
Set the dataType attribute depending on the data. The attribute can be set per column or per cell.
Declaration
public abstract eDataTypeOn AddDataTypesOn { get; set; }
Property Value
| Type | Description |
|---|---|
| eDataTypeOn |
CellsElementName
The name of the element containg the cells data
Declaration
public string CellsElementName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ColumnsElementName
The name of the element containing the columns data
Declaration
public string ColumnsElementName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Culture
The CulturInfo used when formatting values.
Declaration
public CultureInfo Culture { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Globalization.CultureInfo |
DataIsTransposed
Set if data in worksheet is transposed.
Declaration
public bool DataIsTransposed { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Encoding
Encoding for the output
Declaration
public Encoding Encoding { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Text.Encoding |
Minify
If the json is minified when written.
Declaration
public bool Minify { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
RootElementName
The name of the root element
Declaration
public abstract string RootElementName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RowsElementName
The name of the element containg the rows data
Declaration
public string RowsElementName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
WriteComments
Write the comment attribute if an comment exists in a cell.
Declaration
public bool WriteComments { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
WriteHyperlinks
Write the uri attribute if an hyperlink exists in a cell
Declaration
public bool WriteHyperlinks { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |