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