假设我的第一个 json 对象是
"jvtdata":{
"tranid":"100001",
"trandate":"Sun Jan 20 2013 00:00:00 GMT+0800 (Taipei Standard Time)",
"trantype":"f"
}
我的第二个数据是
"detail" : [
{
"id": "1",
"obj": "data1"
},
{
"id": "2",
"obj": "data2"
},
{
"id": "3",
"obj": "data3"
}
]
我如何在 extjs 4 中做到这一点?
"jvtdata":{
"tranid":"100001",
"trandate":"Sun Jan 20 2013 00:00:00 GMT+0800 (Taipei Standard Time)",
"trantype":"f",
"detail" : [
{
"id": "1",
"obj": "data1"
},
{
"id": "2",
"obj": "data2"
},
{
"id": "3",
"obj": "data3"
}
]
}