ExtensionMethods
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:
C#
public static class ExtensionMethods
Inheritance: objectExtensionMethods
Methods
Converts the specified workbook to a SimpleTextDocument containing its JSON representation.
C#
public static SimpleTextDocument ToSimpleTextDocument(this Workbook workbook, TimeSpan? timeout)
The workbook to convert to a simple text document. Cannot be null.
timeoutTimeSpan?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.