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