Gson gson = new Gson(); String json = gson.toJson(myObject); // myObject - instance of MyObject.
確定! 回上一頁