com.aspose.cells

Class JsonUtility

  • java.lang.Object
    • com.aspose.cells.JsonUtility
public class JsonUtility 
extends java.lang.Object

Represents the utility class of processing json.

Constructor Summary
 
Method Summary
static java.lang.StringexportRangeToJson(Range range, ExportRangeToJsonOptions options)
Exporting the range to json file.
static int[]importData(java.lang.String json, Cells cells, int row, int column, JsonLayoutOptions option)
Import the json string.
 

    • Constructor Detail

      • JsonUtility

        public JsonUtility()
    • Method Detail

      • importData

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

        public static java.lang.String exportRangeToJson(Range range, ExportRangeToJsonOptions options)
                                            throws java.lang.Exception
        Exporting the range to json file.
        Parameters:
        range - The range.
        options - The options of exporting.
        Returns:
        The json string value.