aspose.cells

Class JsonUtility

Represents the utility class of processing json.

Constructor Summary
 
Method Summary
static functionexportRangeToJson(range, options)
Exporting the range to json file.
static functionexportRangeToJson(range, options)
Exporting the range to json file.
static functionimportData(json, cells, row, column, option)
Import the json string.
 

    • Constructor Detail

      • JsonUtility

        function JsonUtility()
    • Method Detail

      • importData

        static function importData(json, cells, row, column, option)
        Import the json string.
        Parameters:
        json: String - The json string.
        cells: Cells - The Cells.
        row: Number - The row index.
        column: Number - The column index.
        option: JsonLayoutOptions - The options of import json string.
        Returns:
      • exportRangeToJson

        static function exportRangeToJson(range, options)
        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:
        range: Range - The range.
        options: ExportRangeToJsonOptions - The options of exporting.
        Returns:
        The json string value.
      • exportRangeToJson

        static function exportRangeToJson(range, options)
        Exporting the range to json file.
        Parameters:
        range: Range - The range.
        options: JsonSaveOptions - The options of exporting.
        Returns:
        The json string value.