本帖最后由 johnconner 于 2012-12-13 16:42 编辑
factory 发表于 2012-12-13 16:16
[
{id:...,kind:....},
{id:...,kind:....},
这是Test.JSON.Encode();自动转化的格式,还需要修改吗?
我查看了一下,Test.JSON.Encode();转换出来的都是这种格式
{"total":24,"data":[
{"sbname":"压力表","del":1,"sbkind":2,"id":1},
{"sbname":"2","del":1,"sbkind":1,"id":2},
{"sbname":"3","del":1,"sbkind":1,"id":3},
{"sbname":"4","del":1,"sbkind":1,"id":4},
{"sbname":"5","del":1,"sbkind":1,"id":5},
{"sbname":"6","del":1,"sbkind":1,"id":6},
{"sbname":"7","del":1,"sbkind":1,"id":7},
{"sbname":"8","del":1,"sbkind":1,"id":8},
{"sbname":"9","del":1,"sbkind":1,"id":9},
{"sbname":"10","del":1,"sbkind":1,"id":10}]}
|