I have a JSON file with 2 JSON-Arrays in it: One Array for routes and one Array for sights.
A route should consist of several sights where the user gets navigated to
For me, I just needed to use getString() vs. getJSONObject() (the latter threw that error):
getString()
getJSONObject()
JSONObject jsonObject = new JSONObject(jsonString); String valueIWanted = jsonObject.getString("access_token"))