Java object to JSON string String json = gson.toJson(obj);. fromJson() – JSON to Java object. Gson gson = new Gson(); // 1.
確定! 回上一頁