Code example for JSONArray

Methods: getInt

0
    public double getDouble(int index) throws JSONException {
        return baseArgs.getDouble(index);
    } 
 
    public int getInt(int index) throws JSONException {
        return baseArgs.getInt(index);
    } 
 
    public JSONArray getJSONArray(int index) throws JSONException {
        return baseArgs.getJSONArray(index);
    } 
 
    public JSONObject getJSONObject(int index) throws JSONException {
        return baseArgs.getJSONObject(index);
    } 
 
    public long getLong(int index) throws JSONException {
        return baseArgs.getLong(index);
    } 
 
Connect your IDE to all the code out there  Get Codota for Java