JsonUtility
Contents
[
Hide
]Inheritance: java.lang.Object
public class JsonUtility
Represents the utility class of processing json.
Constructors
Constructor | Description |
---|---|
JsonUtility() |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
exportRangeToJson(Range range, ExportRangeToJsonOptions options) | Exporting the range to json file. |
exportRangeToJson(Range range, JsonSaveOptions options) | Exporting the range to json file. |
getClass() | |
hashCode() | |
importData(String json, Cells cells, int row, int column, JsonLayoutOptions option) | Import the json string. |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
JsonUtility()
public JsonUtility()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
exportRangeToJson(Range range, ExportRangeToJsonOptions options)
public static String exportRangeToJson(Range range, ExportRangeToJsonOptions options)
Exporting the range to json file.
Remarks
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:
Parameter | Type | Description |
---|---|---|
range | Range | The range. |
options | ExportRangeToJsonOptions | The options of exporting. |
Returns: java.lang.String - The json string value.
exportRangeToJson(Range range, JsonSaveOptions options)
public static String exportRangeToJson(Range range, JsonSaveOptions options)
Exporting the range to json file.
Parameters:
Parameter | Type | Description |
---|---|---|
range | Range | The range. |
options | JsonSaveOptions | The options of exporting. |
Returns: java.lang.String - The json string value.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
importData(String json, Cells cells, int row, int column, JsonLayoutOptions option)
public static int[] importData(String json, Cells cells, int row, int column, JsonLayoutOptions option)
Import the json string.
Parameters:
Parameter | Type | Description |
---|---|---|
json | java.lang.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[] -
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |