uwp parse or deserialize httpclient response uwp parse or deserialize httpclient response json json

uwp parse or deserialize httpclient response


I think what you're looking for is this:

var responJsonText = await respon.Content.ReadAsStringAsync();Dictionary<string, string> output= JsonConvert.DeserializeObject<Dictionary<string, string>>(responJsonText);

You can now access the properties' values like this: output['redirecturl']

Hope it helps!


I saw that you are accepted previously answer, but an another way is using dynamic variables, which can be useful when binding json objects.