private JSONArray readArray(boolean stringy) throws JSONException {
        JSONArray jsonarray = new JSONArray();
        jsonarray.put(stringy ? readString() : readValue());
        while (true) {
            if (probe) {
                log("\n");
            }
            if (!bit()) {
                if (!bit()) {
                    return jsonarray;
                }
                jsonarray.put(stringy ? readValue() : readString());
            } else {
                jsonarray.put(stringy ? readString() : readValue());
            }
        }
    }