getBigInteger

Method to get from JSONObject a BigInteger value

Return

value as BigInteger, if it is not exist will return null value

Parameters

key

: key of BigInteger value to get from json

Throws

: when this exception has been trowed will be returned null as default value


open fun getBigInteger(key: String, defValue: BigInteger): BigInteger

Method to get from JSONObject a BigInteger value

Return

value as BigInteger, if it is not exist will return defValue

Parameters

key

: key of BigInteger value to get from json

defValue

: default value to return if primary value not exists

Throws

: when this exception has been trowed will be returned null as default value


open fun getBigInteger(jsonDetails: JSONObject, key: String): BigInteger

Method to get from JSONObject a BigInteger value

Return

value as BigInteger, if it is not exist will return null value

Parameters

jsonDetails

: "JSON" from fetch data

key

: key of BigInteger value to get from json

Throws

: when this exception has been trowed will be returned null as default value


open fun getBigInteger(jsonDetails: JSONObject, key: String, defValue: BigInteger): BigInteger

Method to get from JSONObject a BigInteger value

Return

value as BigInteger, if it is not exist will return defValue

Parameters

jsonDetails

: "JSON" from fetch data

key

: key of BigInteger value to get from json

defValue

: default value to return if primary value not exists

Throws

: when this exception has been trowed will be returned null as default value


open fun getBigInteger(index: Int): BigInteger

Method to get from JSONArray a BigInteger value

Return

value as BigInteger, if it is not exist will return null value

Parameters

index

: index of BigInteger value to get from json


open fun getBigInteger(index: Int, defValue: BigInteger): BigInteger

Method to get from JSONArray a BigInteger value

Return

value as BigInteger, if it is not exist will return defValue

Parameters

index

: index of BigInteger value to get from json

defValue

: default value to return if primary value not exists


open fun getBigInteger(jsonDetails: JSONArray, index: Int): BigInteger

Method to get from JSONArray a BigInteger value

Return

value as BigInteger, if it is not exist will return null value

Parameters

jsonDetails

: "JSON" from fetch data

index

: index of BigInteger value to get from json


open fun getBigInteger(jsonDetails: JSONArray, index: Int, defValue: BigInteger): BigInteger

Method to get from JSONArray a BigInteger value

Return

value as BigInteger, if it is not exist will return defValue

Parameters

jsonDetails

: "JSON" from fetch data

index

: index of BigInteger value to get from json

defValue

: default value to return if primary value not exists