{"wegInstLt":[{"billTypeCode":"0","channelId":530,"channelKind":"03","isHaveBillDate":"0","isHavePayAmount":"0","isLeePay":"0","isPrePay":"1","wiliCode":"1238","wiliItem":"00","wiliName":"哈尔滨市自来水公司","wltiId":10345}]},求解答。
3 回答
千万里不及你
TA贡献1784条经验 获得超9个赞
这样告诉你吧 PHP呢 json_decode('',true) 就可以得到这样的数组:
Array
(
[wegInstLt] => Array
(
[0] => Array
(
[billTypeCode] => 0
[channelId] => 530
[channelKind] => 03
[isHaveBillDate] => 0
[isHavePayAmount] => 0
[isLeePay] => 0
[isPrePay] => 1
[wiliCode] => 1238
[wiliItem] => 00
[wiliName] => 哈尔滨市自来水公司
[wltiId] => 10345
)
)
)
按照你说的list 我觉得你是说python语言的list么。
在python里面 是 html = json.loads(html,encoding='utf-8')
成 a Python object
添加回答
举报
0/150
提交
取消