Code example for JSONArray

Methods: getString

0
    public long getLong(int index) throws JSONException {
        return baseArgs.getLong(index);
    } 
 
    public String getString(int index) throws JSONException {
        return baseArgs.getString(index);
    } 
 
 
    public Object opt(int index) {
        return baseArgs.opt(index);
    } 
 
    public boolean optBoolean(int index) {
        return baseArgs.optBoolean(index);
    } 
 
    public double optDouble(int index) {
        return baseArgs.optDouble(index);
    }