Open
Description
while creating a product we make a map. which works fine for simple attributes, but is not working for object type attributes.
dimensions.setLength("1");
dimensions.setWidth("1");
dimensions.setHeight("1");
Gson gson = new Gson();
String json = gson.toJson(dimensions);
productInfo.put("dimensions",json);
on printing, it shows JSON has the object of dimensions
{"length":"1","width":"1","height":"1"}
help me fast plz
Metadata
Metadata
Assignees
Labels
No labels