parse a hashmap to gson object

I converted from hashmap<String,Integer> to json object and I got this result
//this code was used and it gave the below results
Gson builder = new GsonBuilder().setPrettyPrinting().create();
object.add("Body Info", builder…