SyntaxFix
Write A Post
Hire A Developer
Questions
If you're using org.json, JSONObject has a method toMap(). You can easily do:
toMap()
Map<String, Object> myMap = myJsonObject.toMap();