一直显示parsererror错误,怎么解决

如题所述

1、首先按系统快捷键WIN+R,打开运行窗口,在运行窗口输入“regedit”,打开注册表

2、在注册表中依次打开“HKEY_LOCAL_MACHINE/SOFTWARE/microsoft/Windows/CurrentVersion/Run”;

3、然后在右侧的信息页面中将runtime信息删除;

4、之后需要对注册表进行搜索,搜寻其它runtime信息,按CTRL+F;

5、搜索“runtime”;

6、将搜索到的runtime信息全部删除,就不会再报错了。

温馨提示:答案为网友推荐,仅供参考
第1个回答  2019-07-12

1、第一步我们按“win+R”键打开运行,在运行输入框中输入“regedit”,

2、第二步点击确定,进去注册表之后,找到“HKEY_LOCAL_MACHINE/SOFTWARE/microsoft/Windows/CurrentVersion/Run”,

3、第三步点击“Run”之后,在右侧中找到“runtime”的错误信息,然后将它删除就完成了,不会对电脑系统有影响

4、第四步我们可以按“Ctrl+F”键,进行直接查找内容,也可以点击“编辑”,这里选择查找,

5、第五步在查找目标中输入“runtime”,选择“全字匹配”

6、第六步查找需要等待一点时间,找到之后,点击删除就完成了,查找完成之后,可以点击“查找下一个”,看还有没有,直到删除完全,这样就不会再出现error了

本回答被网友采纳
第2个回答  2017-11-09
jQuery.parseJSON( json )
Passing in a malformed JSON string will result in an exception being thrown. For example, the following are all malformed JSON strings:
{test: 1} (test does not have double quotes around it). 译:test两边必须有双引号 {"test":1}
{'test': 1} ('test' is using single quotes instead of double quotes). 译:test两边的引号不能为单引号,一定要是双引号
Additionally if you pass in nothing, an empty string, null, or undefined, 'null' will be returned from parseJSON. Where the browser provides a native implementation of JSON.parse, jQuery uses it to parse the string. For details on the JSON format, see http://json.org/.
现在什么都讲究标准啦,我们老老实实按标准来吧。我下面列举几个符合标准的例子:
{"myvalue":1}
{"myvalue":"red"}
{"myvalue":["black",250]}本回答被提问者采纳
相似回答