- 帖子
- 4
- 积分
- 17
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2022-11-16
|
30元红包有偿求一份vbs解析含有重复键的JSON文本的脚本
本帖最后由 林之峰 于 2022-11-16 15:04 编辑
具体报酬:30元人民币。
支付方式:微信
联系方式:微信
有效期限:2022年12月31日之前
需求描述:
(1)系统环境(XP/Win7/Win10/Win11,中文版/英文版,专业版/家庭版/精简版,等)
(2)求一份vbs解析含有重复键的JSON文本的脚本
(3)其它补充信息,目前从网页能获得字符串/文本,含有很多重复键,问过说那个叫字典,能力实在有限,求大佬帮帮忙!
(4) 仅需解析"paramName", "paramVal","paramUnit",3个关键字值。
以下为获得的JSON文本
{
"total": 142,
"rows": [
{
"searchValue": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": null,
"enterpriseId": null,
"enterpriseName": "高升公司",
"processName": "发电组",
"passageId": null,
"passageName": null,
"lineId": null,
"lineName": "生产组",
"deviceId": null,
"deviceName": "生产",
"dataTime": "2022-11-16 14:21:25",
"paramId": null,
"paramName": "生产电流",
"paramLevel": "B",
"paramType": null,
"type": "数字量",
"paramVal": "5.00",
"paramUnit": "kg/h",
"paramFlag": null,
"maxval": null,
"minval": null,
"isnormal": null,
"table": null
},
{
"searchValue": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": null,
"enterpriseId": null,
"enterpriseName": "高升公司",
"processName": "发电组",
"passageId": null,
"passageName": null,
"lineId": null,
"lineName": "风机组",
"deviceId": null,
"deviceName": "风机",
"dataTime": "2022-11-16 14:21:25",
"paramId": null,
"paramName": "风机电流",
"paramLevel": "C",
"paramType": null,
"type": "数字量",
"paramVal": "1.00",
"paramUnit": "A",
"paramFlag": null,
"maxval": null,
"minval": null,
"isnormal": null,
"table": null
},
{
"searchValue": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": null,
"enterpriseId": null,
"enterpriseName": "高升公司",
"processName": "发电组",
"passageId": null,
"passageName": null,
"lineId": null,
"lineName": "电机组",
"deviceId": null,
"deviceName": "电机",
"dataTime": "2022-11-16 14:21:25",
"paramId": null,
"paramName": "温度",
"paramLevel": "D",
"paramType": null,
"type": "数字量",
"paramVal": "85.17",
"paramUnit": "°C",
"paramFlag": null,
"maxval": null,
"minval": null,
"isnormal": null,
"table": null
后面还有好多,此处省略
}
],
"code": 200,
"msg": "查询成功"
} |
|