jQuery MiniUI

标题: 劳驾看看这串json为什么不能序列化?提示不支持replace [打印本页]

作者: njzy    时间: 2012-12-15 19:11:12     标题: 劳驾看看这串json为什么不能序列化?提示不支持replace

{"total":30,"data":[{"cat":"Specification","isLeaf":false,"type":"XLS","folder":"1","expanded":"false","id":"338592817","text":"201292715433.xls","value":"338592817.xls","size":"36110","pid":"","typp":"partnum"},{"cat":"Specification","isLeaf":false,"type":"XLSX","folder":"1","expanded":"false","id":"958850734","text":"ComputerInfo.xlsx","value":"958850734.xlsx","size":"19835","pid":"","typp":"partnum"},{"cat":"Specification","isLeaf":false,"type":"PDF","folder":"1","expanded":"false","id":"545845913","text":"TP-LINK.pdf","value":"545845913.pdf","size":"3579087","pid":"","typp":"partnum"},{"cat":"Specification","isLeaf":false,"type":"JPG","folder":"1","expanded":"false","id":"866307443","text":"2012-9-26 9-36-56.jpg","value":"866307443.jpg","size":"192228","pid":"","typp":"partnum"},{"cat":"Specification","isLeaf":false,"type":"DWG","folder":"1","expanded":"false","id":"Contact","text":"new factory layout rev11.dwg","value":"153821319.dwg","size":"1643808","pid":"","typp":"partnum"}]}
作者: njzy    时间: 2012-12-15 20:17:39

没事儿了。
作者: niko    时间: 2012-12-16 10:55:56

这是因为你后台传递的直接就是JSON对象,而不是JSON字符串。
我们也做了容错处理,下载更新即可。





欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2