asposecells.api

Class JsonUtility

Represents the utility class of processing json.

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

    • Constructor Detail

      • JsonUtility

        JsonUtility()
    • Method Detail

      • importData

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

        static String 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 String 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.