JSON string to Java object String json = "{'name' : 'mkyong'}"; Staff staff = gson.fromJson(json, Staff.class); // 3.
確定! 回上一頁