正文js解析json报错Unexpected token i in JSON at position 1IP云V管理员/2022-09-02/0 阅读 09/02小程序:扫一扫查出行【扫一扫了解最新限行尾号】复制小程序 因为后台json是手动拼接的,在拼接时偷了懒,不想转义,所以就用了单引号,结果js解析时悲催了这里记录一下,被解析的json字符串必须键值对都用双引号包起来,必须是双引号默默罚抄一百遍