How to convert or cast hashmap to JSON object in Java, and again convert JSON object to JSON string?
If you need use it in the code.
Gson gsone = new Gson(); JsonObject res = gsone.toJsonTree(sqlParams).getAsJsonObject();