title: How to convert HashMap to JsonObject directly
body: <p>I checked that I can convert the hashmap to json using Gson, but it's giving String. Then I've to convert this string to JsonObject.</p>
  
  <p>Is there any way that I can convert the hashmap to JsonObject directly using gson</p>