Just use gson.toJson () method to get the JSON string after converting HashMap. Java program to convert HashMap to JSON string using Gson.
確定! 回上一頁