JsonUtility

JsonUtility class

Represents the utility class of processing json.

new JsonUtility()

Methods

NameDescription
exportRangeToJson(range, options) (static)Exporting the range to json file. NOTE: This member is now obsolete. Instead, please use ExportRangeToJson(Range range,
exportRangeToJson(range, options) (static)Exporting the range to json file.
importData(json, cells, row, column, option) (static)Import the json string.

exportRangeToJson(range, options) (static)

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.

ParameterTypeDescription
rangeRangeThe range.
optionsExportRangeToJsonOptionsThe options of exporting.

Returns: String — String The json string value.

exportRangeToJson(range, options) (static)

Exporting the range to json file.

ParameterTypeDescription
rangeRangeThe range.
optionsJsonSaveOptionsThe options of exporting.

Returns: String — String The json string value.

importData(json, cells, row, column, option) (static)

Import the json string.

ParameterTypeDescription
jsonStringThe json string.
cellsCellsThe Cells.
rowNumberThe row index.
columnNumberThe column index.
optionJsonLayoutOptionsThe options of import json string.

Returns: Array of Number — Array of Number