Analise json string para localizar e elemento (chave / valor) [duplicado]
Esta pergunta já tem uma resposta aqui:
Analisar JSON em c # 7 respostasEu tenho o seguinte json em um arquivo timezones.json:
{ "Atlantic/Canary": "GMT Standard Time", "Europe/Lisbon": "GMT Standard Time",
"Antarctica/Mawson": "West Asia Standard Time", "Etc/GMT+3": "SA Eastern Standard Time",
"Etc/GMT+2": "UTC-02", "Etc/GMT+1": "Cape Verde Standard Time", "Etc/GMT+7": "US Mountain
Standard Time", "Etc/GMT+6": "Central America Standard Time", "Etc/GMT+5": "SA Pacific
Standard Time", "Etc/GMT+4": "SA Western Standard Time", "Pacific/Wallis": "UTC+12",
"Europe/Skopje": "Central European Standard Time", "America/Coral_Harbour": "SA Pacific
Standard Time", "Asia/Dhaka": "Bangladesh Standard Time", "America/St_Lucia": "SA Western
Standard Time", "Asia/Kashgar": "China Standard Time", "America/Phoenix": "US Mountain
Standard Time", "Asia/Kuwait": "Arab Standard Time" }
Quero pesquisar uma chave específica, por exemplo "Atlantic / Canary" e, como resultado, deseja recuperar seu valor, ou seja, "GMT Standard Time".
Como posso fazer isso usando o Json.Net ou qualquer outro meio eficiente em c #?