Imagine u have a list of email like below. not constrained to any programming language,
emailsList = ["[email protected]","[email protected]","[email protected]"]
Now following is JAVA code - for converting json to map
JSONObject jsonObj = new JSONObject().put("name","abc").put("email id",emailsList);
Map<String, Object> s = jsonObj.getMap();