toString()` method String json = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(user); // print json System.out.println(json); } ...
確定! 回上一頁