Java:返回的JSON的长度有限制吗?


页面从后台读取JSON,在前台遍历显示结果,小数据量的时候没发现问题,但是当返回的JSON传很长时(word文档占了两页那么长),日志显示JSON返回了,但是前台却无法遍历成功(例如应该有4个结果框,但是只显示出来一个),所以我想知道返回值是否有长度限制呢,还是说数据量太大了致使页面已无法正常遍历结果了呢?


在Chrome中报出如下错误,然后显示了一个没遍历全的残缺页面....

   
  Denying load of chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/jquery-2.0.3.min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension. ds?req={%27className%27:%27SystemChecking%27,%27methodName%27:%27systemChecking%27,params:[]}:1
 
   
  Denying load of chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/mutation-summary.js.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension. ds?req={%27className%27:%27SystemChecking%27,%27methodName%27:%27systemChecking%27,params:[]}:1
 

在IE中就是一直在等待返回....

java

无口无心无表情 11 years, 6 months ago

本身没有限制。而且你说了 word文档两页。。 那算是短的了 断点查异常吧

huisha answered 11 years, 6 months ago

Your Answer