我從Bitly API此響應字符串:C#字符串轉換爲字典
{ "status_code": 200,
"status_txt": "OK",
"data":
{ "long_url": "http:\/\/amazon.de\/",
"url": "http:\/\/amzn.to\/1mP2o58",
"hash": "1mP2o58",
"global_hash": "OjQAE",
"new_hash": 0
}
}
我如何把這個字符串轉換字典和怎樣訪問爲重點"url"
值(沒有所有的\
)
使用Newtonsoft JSON庫。 – Enigmativity