public KJ_JSONObject getJSONObject(int index) throws KJ_JSONException { KJ_JSONValue val = arr.get(index); KJ_JSONObject jObj = val.getJSONObject(); if (jObj == null) throw new KJ_JSONException("Not a JSON Object type"); return jObj; }