Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Map to Object

Gson gson = new Gson();
JsonElement jsonElement = gson.toJsonTree(map);
MyPojo pojo = gson.fromJson(jsonElement, MyPojo.class);
Source by newbedev.com #
 
PREVIOUS NEXT
Tagged: #Map #Object
ADD COMMENT
Topic
Name
5+4 =