Hi,

I want to deserialize my model fields. But it s not work. After deserialize model create but fields empty.


My model:

  public class GenKullanici : BaseEntity
    {
        public Int32? Kod { get; set; }
        public string KullaniciKod { get; set; }
        public string PersonelKod { get; set; }
        public string Adi { get; set; }
        public string Soyadi { get; set; }
        public string AktifEH { get; set; }
        public DateTime? KayitTarihi { get; set; }
        public string BelediyeKod { get; set; }
        public DBActionType ActionType { get; set; }
        public int TotalCount { get; set; }
        public string BelediyeAck { get; set; }
    }

My json data:

 [{"Kod":"3","KullaniciKod":"DENEME","PersonelKod":null,"Adi":"DENEME ADI","Soyadi":"DENEME SOYAD","AktifEH":"H","KayitTarihi":"2014-07-21T17:43:35","BelediyeKod":"3313","BelediyeAck":"Tarsus Belediyesi","ID":"ext-32-2","ActionType":2,"FieldList":"Kod|AktifEH|PersonelKod|"}]
I try:
list = JSON.Deserialize<List<EntitySpace.User.GenKullanici>>(data);
Result:

Click image for larger version. 

Name:	JsonDeserialize.jpg 
Views:	7 
Size:	63.1 KB 
ID:	21901