我在 JSON 格式中得到了很大的响应,我只需要 2 个字符串,这是我的 JSON 文件,我在其中减少了更好的阅读
{
"cdn_url": "https://f.vimeocdn.com",
"vimeo_api_url": "api.vimeo.com",
"request": {
"files": {
"progressive": [
{
"profile": 164,
"width": 622,
"mime": "video/mp4",
"fps": 25,
"url": "1047326445.mp4",
"cdn": "akamai_interconnect",
"quality": "360p",
"id": 1047326445,
"origin": "gcs",
"height": 360
},
{
"profile": 165,
"width": 932,
"mime": "video/mp4",
"fps": 25,
"url": "1047326437.mp4",
"cdn": "akamai_interconnect",
"quality": "540p",
"id": 1047326437,
"origin": "gcs",
"height": 540
}
]
}
},
"video": {
"version": {
"current": null,
"available": null
},
"height": 540,
"duration": 401,
"thumbs": {
"640": "712851375_640.jpg",
"960": "712851375_960.jpg",
"base": "712851375"
},
"id": 279550927,
"default_to_hd": 0,
"url": null,
"privacy": "disable",
"unlisted_hash": null
}
}
我从中删除了很多对象以便更好地阅读。我想要“url”:“1047326445.mp4”,来自“渐进式数组和来自视频对象中的“640”变量的字符串。
叮当猫咪
相关分类