Convert
var retrievedcontact1 = response.Content.ReadAsStringAsync().Result;
dynamic data = JObject.Parse(retrievedcontact1);
RootObject objects = JsonConvert.DeserializeObject<RootObject>(response.Content.ReadAsStringAsync().Result);
public class Value
{
[JsonProperty("@odata.etag")]
public string etag { get; set; }
public string systemuserid { get; set; }
public string ownerid { get; set; }
}
public class RootObject
{
[JsonProperty("@odata.context")]
public string context { get; set; }
public List<Value> value { get; set; }
}
No comments:
Post a Comment