我有以下 json 对象数据,如何使用 python 来获取"BuildId"
第二个"ftp"
(注意:它在"ArchiveLocation"
)值?
{"BuildId":"4c53575f-36f48a7f1f37",
"EventId":1,
"ArchiveLocations":
[
{
"archive_server":"CA",
"ftp":"ftp://ABC1.com/2011_V2/2011.4.103.002",
"dfs":"\\\\ABD\\dfs\\Department\\2011.4.103.002"
},
{
"archive_server":"CT",
"ftp":"ftp://ABC2.com/2011_V2/2011.4.103.002",
"dfs":"\\\\ABD.com\\dfs\\Department\\2011.4.103.002"
}
]
}