簡體   English   中英

如何在Windows Phone中解析此JSON

[英]How to parse This JSON in Windows phone

請幫助我在c# JSON DATA中使用JSON.net解析此JSON

這是結果

[{"rescode":0,"policyid":"1","Insuredid":"2606"},
{"rescode":0,"policyid":"2","Insuredid":"2607"},
{"rescode":0,"policyid":"3","Insuredid":"2608"}]

嘗試這個...

public class Product {

    public int Rescode {get;set;}
    public int Policyid {get;set;}
    public int InsuredId {get;set;}

}
Product deserializedProduct = JsonConvert.DeserializeObject<Product>(json);

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM