jquery Unexpected token i 问题记录

在使用jquery的jQuery.parseJSON()方法出现该问题,是由于json格式不正确引起。

 

正确格式

{"id":"root","text":"xx系统","children":[{"id":"systemManage","text":"系统管理","children":[{"id":"pswModify","text":"密码修改"}]}]}

相关文章:

  • 2021-10-18
  • 2021-09-02
  • 2021-04-19
  • 2021-06-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-03-30
  • 2021-10-05
相关资源
相似解决方案