SyntaxFix
Write A Post
Hire A Developer
Questions
A solution with Gson:
Gson gson = new Gson(); JsonElement jsonElement = gson.toJsonTree(map); MyPojo pojo = gson.fromJson(jsonElement, MyPojo.class);