dsxz84851 2011-11-30 18:09 采纳率: 100%
浏览 421

DataTables警告:无法解析来自服务器的JSON数据。 这是由JSON格式错误引起的

I am using server-side DataTables in a project

and do a search, shows me the following error message:

DataTables warning: JSON data from server not could be parsed. This is Caused by a JSON formatting error.

I found some suggestions in the forums but nothing has worked for me

Anyone have any suggestions?

  • 写回答

5条回答 默认 最新

  • dpc46827 2011-11-30 18:14
    关注

    You're json is not in the valid format which datatables expects, that being row/column 2d array.

    [["row1col1","row1col2"],["row2col1"],.....]
    
    评论

报告相同问题?

悬赏问题

  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥15 Stata 面板数据模型选择
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏