JSON:
"{
"a": "https://is2-ssl.com/",
"b": "https://a5.-ssl.com/",
"type": "response",
"c": [
{
"Number": 1,
"Reportname": "XXX",
"size": "2.5",
"Variants": [
"YYY"
]
}
],
"Meta": "ABC"
}
所需输出:
XXX,a,https://is2-ssl.com/
XXX,b,https://a5.-ssl.com/
我想打印那些值包含“http”(url)的键值对,并将键和值与分隔符“,”合并,并将 ReportName 添加到它们