JsonUtility

Inheritance: java.lang.Object

public class JsonUtility

Represents the utility class of processing json.

Constructors

ConstructorDescription
JsonUtility()

Methods

MethodDescription
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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
rangeRangeThe range.
optionsExportRangeToJsonOptionsThe 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:

ParameterTypeDescription
rangeRangeThe range.
optionsJsonSaveOptionsThe 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:

ParameterTypeDescription
jsonjava.lang.StringThe json string.
cellsCellsThe Cells.
rowintThe row index.
columnintThe column index.
optionJsonLayoutOptionsThe 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int