请帮我在c#中使用JSON.net解析这个JSON JSON DATA
这是结果
[{"rescode":0,"policyid":"1","Insuredid":"2606"},
{"rescode":0,"policyid":"2","Insuredid":"2607"},
{"rescode":0,"policyid":"3","Insuredid":"2608"}]
答案 0 :(得分:0)
试试这个......
public class Product {
public int Rescode {get;set;}
public int Policyid {get;set;}
public int InsuredId {get;set;}
}
Product deserializedProduct = JsonConvert.DeserializeObject<Product>(json);