JSONObject jsonObject = jsonArray.getJSONObject(i); jsonObject.isNull("scheme") 不要直接jsonObject.get("xxx"),不然会崩溃