一直显示parsererror错误,怎么解决
3个回答
展开全部
1、第一步我们按“win+R”键打开运行,在运行输入框中输入“regedit”,
2、第二步点击确定,进去注册表之后,找到“HKEY_LOCAL_MACHINE/SOFTWARE/microsoft/Windows/CurrentVersion/Run”,
3、第三步点击“Run”之后,在右侧中找到“runtime”的错误信息,然后将它删除就完成了,不会对电脑系统有影响
4、第四步我们可以按“Ctrl+F”键,进行直接查找内容,也可以点击“编辑”,这里选择查找,
5、第五步在查找目标中输入“runtime”,选择“全字匹配”
6、第六步查找需要等待一点时间,找到之后,点击删除就完成了,查找完成之后,可以点击“查找下一个”,看还有没有,直到删除完全,这样就不会再出现error了
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
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]}
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]}
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询