i'm trying to put an anonymous hashmap into another hashmap:-
Map<String, Object> requestBody=new HashMap<String, Object>();
requestBody.put("UPSSecurity", new HashMap<String, Object>().put("username","rohan"));
System.out.println(requestBody);
Output is:-
{UPSSecurity=null}