I wanted to know how I can get JSON data from a URL and add the coordinates (lat, long) as markers into Google Maps in android studio(3.1.1).
I cannot figure out how to do this.
Link: https://opendata.brussels.be/api/records/1.0/search/?dataset=parkings
you can try with this code
JSONObject jsonobj = new JSONObject(response);
JSONArray jsonArr = jsonobj.getJSONArray(jsonobj.getString("records"));
for further information check this out
https://www.androidhive.info/2012/01/android-json-parsing-tutorial/