Json Helper

constructor(jsonSource: T)
constructor(jsonSource: String)

Constructor to init JsonHelper tool class

Parameters

jsonSource

: the source of "JSON" to work on, it can be formatted as object or array "JSON" structures

Throws

when "jsonSource" inserted is not a valid "JSON" source


constructor(jsonObjectSource: JSONObject)

Constructor to init JsonHelper tool class

Parameters

jsonObjectSource

: jsonObject used to fetch data


constructor(jsonArraySource: JSONArray)

Constructor to init JsonHelper tool class

Parameters

jsonArraySource

: jsonArray used to fetch data


constructor(jsonObjectSource: JSONObject, jsonArraySource: JSONArray)

Constructor to init JsonHelper tool class

Parameters

jsonObjectSource

: jsonObject used to fetch data

jsonArraySource

: jsonArray used to fetch data