i building a json object that consists of nameValue pairs defined in a Hashmap
the issue i am having is when i invoke:
jsonObject.put(hashmap); >
jsonObject.put(hashmap);
Use JSON's putAll.
Map myMap = new HashMap(); JSONObject jsonObject = new JSONObject(); jsonObject.putAll(myMap);