加好友 发短信
等级:三尾狐
帖子:637
积分:7362
威望:0
精华:1
注册:2013/11/26 7:49:00
|
解析JSON求助 Post By:2018/5/25 8:58:00 [显示全部帖子]
你好,麻烦老师帮我看一下,我要获取以下的数据该怎么写代码?
{"item-1527207237163":{"id":"item-1527207237163","locked":false,"placeholder":"","title":"明细","type":"list","un_print":false,"validate":false,"value":[{"item-1527207237163-0-0":{"id":"item-1527207336618","locked":false,"placeholder":"","title":"物料","type":"select","un_print":false,"validate":true,"value":"A4纸","setIndex":0,"listItem":true,"warning":""},"item-1527207237163-0-1":{"id":"item-1527207362796","locked":false,"placeholder":"","title":"数字","type":"number","un_print":false,"validate":true,"value":"2","listItem":true,"warning":""}},{"item-1527207237163-1-0":{"id":"item-1527207336618","locked":false,"placeholder":"","title":"物料","type":"select","un_print":false,"validate":true,"value":"硒鼓","setIndex":1,"listItem":true,"warning":""},"item-1527207237163-1-1":{"id":"item-1527207362796","locked":false,"placeholder":"","title":"数字","type":"number","un_print":false,"validate":true,"value":"1","listItem":true,"warning":""}}],"warning":""}}
物料 : A4纸 数字 :2 物料 :硒鼓 数字 :1
[此贴子已经被作者于2018/5/25 8:59:27编辑过]
|
|