📅  最后修改于: 2022-03-11 15:02:13.160000             🧑  作者: Mango
代码示例6
ObjectMapper mapper = new ObjectMapper();
String perttyStr = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(object);