Class ExtensionMethods
Provides extension methods working with JSON format.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.FormatProviders.Json
Assembly: Telerik.Windows.Documents.Spreadsheet.FormatProviders.Json.dll
Syntax
public static class ExtensionMethods
Methods
ToSimpleTextDocument(Workbook, Nullable<TimeSpan>)
Converts the specified workbook to a SimpleTextDocument containing its JSON representation.
Declaration
public static SimpleTextDocument ToSimpleTextDocument(this Workbook workbook, TimeSpan? timeout)
Parameters
|
Workbook
workbook
The workbook to convert to a simple text document. Cannot be null. |
|
System.Nullable<System.TimeSpan>
timeout
An optional timeout that specifies the maximum duration allowed for the export operation. If null, the operation will not be cancelled. |
Returns
|
SimpleTextDocument
A SimpleTextDocument containing the JSON representation of the workbook. |