VM158:19 Uncaught SyntaxError: Unexpected token s in JSON at position 961 at JSON.parse

VM158:19 Uncaught SyntaxError: Unexpected token s in JSON at position 961
    at JSON.parse (<anonymous>)
    at XMLHttpRequest.xhr.onreadystatechange

报错图(提示第31行有问题):

VM158:19 Uncaught SyntaxError: Unexpected token s in JSON at position 961 at JSON.parse

VM158:19 Uncaught SyntaxError: Unexpected token s in JSON at position 961 at JSON.parse

报错原因:

最后发现是json文件中有引号错误(可能是不小心按到的),把引号去掉就好了

VM158:19 Uncaught SyntaxError: Unexpected token s in JSON at position 961 at JSON.parse