Gson can also be used to serialize arbitrarily complex objects. Here is how you use it: Gson gson = new Gson(); String json = gson.toJson(myObject);.
確定! 回上一頁