Issue
How to convert or cast hashmap to JSON object in Java, and again convert JSON object to JSON string?
Solution
You can use:
new JSONObject(map);
Other functions you can get from its documentation
http://stleary.github.io/JSON-java/index.html
Answered By - Ankur
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.