I try to search converting JSONObject to HashMap but most of the results are for Java not Android. Hence, I hope someone can share if you have experien
JSONObject
HashMap
try this code to convert Jsonobject to hashmap
Map params = new HashMap(); try { Iterator> keys = jsonObject.keys(); while (keys.hasNext()) { String key = (String) keys.next(); String value = jsonObject.getString(key); params.put(key, value); } } catch (Exception xx) { xx.toString(); }