这是我拿到的json,我想在listbox中显示processarr数组里的东西,比如13 ~ 3,13~ 2,13 -1,两两组合,
我要怎么写他能自动识别到有多少组?
而不用我手动一个一个取出来呢?
我现在是引用Newtonsoft.Json用的!
谢谢!
{
"code": 1,
"msg": "返回成功",
"time": "1638940986",
"data": {
"workorder_id": 10,
"work_order_no": "2111248",
"product_id": 4,
"process_num": 41,
"template_address": "aa,
"process_no_order": 3,
"product_name": "我不知道 ",
"exposure_time1": 20000,
"exposure_time2": 17000,
"min_score": 0.2,
"standard": [{
"standard_id": 6,
"color": "黑色",
"point_x": "-300",
"point_y": "200",
"L": 75.64,
"a": 10,
"b": 36.42
}],
"processarr": [{
"process_no": "13",
"process_no_order": 3
}, {
"process_no": 13,
"process_no_order": 2
}, {
"process_no": 13,
"process_no_order": 1
}, {
"process_no": 12,
"process_no_order": 2
}, {
"process_no": 12,
"process_no_order": 1
}, {
"process_no": 11,
"process_no_order": 1
}, {
"process_no": 10,
"process_no_order": 2
}, {
"process_no": 10,
"process_no_order": 1
}]
}
}