Replace
river = response.getJSONArray("result");
with
river = response.getJSONObject("result");
The result
tag is a JSONObject
and not a JSONArray