I have a JSONObject with some attributes that I want to convert into a Map<String, Object>
JSONObject
Map<String, Object>
Is there something that I can use from the json.org or ObjectMapper?
ObjectMapper
use Jackson (https://github.com/FasterXML/jackson) from http://json.org/
HashMap<String,Object> result = new ObjectMapper().readValue(<JSON_OBJECT>, HashMap.class);
1.4m articles
1.4m replys
5 comments
56.9k users