SyntaxError: JSON.parse: bad control character in string literal at line 1 column 16 of the JSON data

JSON.parse转化Json字符串时出现:SyntaxError: JSON.parse: bad control character in string literal at line 1 column 16 of the JSON data

测试代码:

JSON.parse("{\"Result\":\"bhbh\thuhuha\"}")

罪魁祸首:\t导致

上一篇:利用select实现伪并发的socket


下一篇:交换排序:冒泡排序vs快速排序