Please help me parse this JSON using JSON.net in c# JSON DATA
Here is Result
[{"rescode":0,"policyid":"1","Insuredid":"2606"},
{"rescode":0,"policyid":"2","Insuredid":"2607"},
{"rescode":0,"policyid":"3","Insuredid":"2608"}]
Please help me parse this JSON using JSON.net in c# JSON DATA
Here is Result
[{"rescode":0,"policyid":"1","Insuredid":"2606"},
{"rescode":0,"policyid":"2","Insuredid":"2607"},
{"rescode":0,"policyid":"3","Insuredid":"2608"}]
Try this...
public class Product {
public int Rescode {get;set;}
public int Policyid {get;set;}
public int InsuredId {get;set;}
}
Product deserializedProduct = JsonConvert.DeserializeObject<Product>(json);