使用Nodepad++提前json中的字段
1、提取json文件中相同的字段,目标是提取文件中所有的“name”及后面的字段
{ "data": { "current": 1, "total": 54, "data": [ { "id": "b7fa8b74e15b052fce754d3769b2f017", "name": "XB-JQ1-YDDC-ILO-MGT-ACC-S5560X-007", "inIp": "10.8.2.123", "outIp": "10.8.2.123", "snmpCommunity": "zgyCloud2019!", "regionId": "471e5c3470b8e91e2643f2a0f52b2747", "regionName": "网区", "zoneId": "a271237d2b45401dd2f3d443ed2973c2", "zoneName": "网区-可用区1", "resourceTypeId": "switch", "typeName": "switch", "status": 1, "statusName": "启用", "createTime": 1648015923000 }, { "id": "f147c7fcedd660b538ac608bc2471a3f", "name": "XB-JQ2-YDDC-Store-ACC-S6850-003&004", "inIp": "10.8.2.122", "outIp": "10.8.2.122", "snmpCommunity": "zgyCloud2019!", "regionId": "3f579d395db2bcc6a846424c060aa58d", "regionName": "网区", "zoneId": "c0ae384ff587539b1a55c55fbb69560b", "zoneName": "网区-可用区1", "resourceTypeId": "switch", "typeName": "switch", "status": 1, "statusName": "启用", "createTime": 1648006744000
2、首先标记出要查找的字段
3、复制标记出的内容