Convert JSONObject to Map
dictionary, java, json
Solution
use Jackson (https://github.com/FasterXML/jackson) from http://json.org/
HashMap<String,Object> result =
new ObjectMapper().readValue(<JSON_OBJECT>, HashMap.class);
Problem
I have a `JSONObject` with some attributes that I want to convert into a `Map<String, Object>` Is there something that I can use from the json.org or `ObjectMapper`?