标签:报错 tps bsp str 转义 details 解析 result net
res = JSON.parse(result.replace(/\n/g,"\\n").replace(/\r/g,"\\r"));//转义
str_o = res.result;
str_n = str_o.replace(/\\n/g,"\r\n");//解析后再转回来
摘自:https://blog.csdn.net/qq_31934975/article/details/78364301
标签:报错 tps bsp str 转义 details 解析 result net
原文地址:https://www.cnblogs.com/hamili/p/11719582.html