JsonUtility
Source: aspose.
Represents the utility class of processing json.
new JsonUtility()
Methods
exportRangeToJson(range, options) → String
Exporting the range to json file. NOTE: This member is now obsolete. Instead, please use ExportRangeToJson(Range range, JsonSaveOptions options) method. This property will be removed 6 months later since November 2022. Aspose apologizes for any inconvenience you may have experienced.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
range |
|
The range. |
|
options |
|
The options of exporting. |
- Returns
-
String
The json string value.
exportRangeToJson(range, options) → String
Exporting the range to json file.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
range |
|
The range. |
|
options |
|
The options of exporting. |
- Returns
-
String
The json string value.
importData(json, cells, row, column, option) → Array of Number
Import the json string.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
json |
String |
|
The json string. |
cells |
|
The Cells. |
|
row |
Number |
|
The row index. |
column |
Number |
|
The column index. |
option |
|
The options of import json string. |
- Returns
-
Array of Number