This topic created in 1716 days ago, the information mentioned may be changed or developed.
"data":{"id":1,"description":"测试啊测试!\\n\\n 期待测试!"}}
数据库的数据是测试啊测试!\n\n 期待测试!
返回 json 后变成了\\n\\n 导致解析失败。
这种情况怎么处理啊
 | | 1 passer9527 Aug 19, 2021 via iPhone 这个不是 springboot 的问题,而是你返回前,这个字段的值已经被加上了多余斜线。仔细看看是哪个步骤加的 |