2013/07/31 java Gson: Java Object <=>json 便利ね。。。 gson.toJson(user, User.class, writer); User user = gson.fromJson(reader, User.class); gson.toJson(list, ArrayList.class, writer); Type type = new TypeToken(){}.getType(); ArrayList list = gson.fromJson(reader, type); メールで送信BlogThis!X で共有Facebook で共有する