Code example for JSONArray

Methods: get

0
    } 
 
 
    // Pass through the basics to the base args. 
    public Object get(int index) throws JSONException {
        return baseArgs.get(index);
    } 
 
    public boolean getBoolean(int index) throws JSONException {
        return baseArgs.getBoolean(index);
    } 
 
    public double getDouble(int index) throws JSONException {
        return baseArgs.getDouble(index);
    } 
 
    public int getInt(int index) throws JSONException {
        return baseArgs.getInt(index);
    }