Class JsonUtility
Class JsonUtility
Namespace: Aspose.Cells.Utility
Assembly: Aspose.Cells.dll (25.2.0)
Represents the utility class of processing json.
public class JsonUtility
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
JsonUtility()
public JsonUtility()
Methods
ExportRangeToJson(Range, JsonSaveOptions)
Exporting the range to json file.
public static string ExportRangeToJson(Range range, JsonSaveOptions options)
Parameters
range
Range
The range.
options
JsonSaveOptions
The options of exporting.
Returns
The json string value.
ImportData(string, Cells, int, int, JsonLayoutOptions)
Import the json string.
public static int[] ImportData(string json, Cells cells, int row, int column, JsonLayoutOptions option)
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
int[]