我有 json 文件包含多键和值。我希望其中一个值包含换行符。我已经尝试了多个选项,如下所示
{
"ans": "first line \n second line \n third line",
"ans1": "first line '\n' second line '\n' third line",
"ans2": "first line '\\n' second line '\\n' third line",
"ans3": ["Line one", "line Two", "Line Three"]
}