Employee oEmployee1 = new Employee { Name = "Pini", ID = "111", Age = "30" };
Employee oEmployee2 = new Employee { Name = "Yaniv", ID = "Cohen", Age = "31" };
Employee oEmployee3 = new Employee { Name = "Yoni", ID = "Biton", Age = "20" };
List
Serialization.JavaScriptSerializer serializer = new Serialization.JavaScriptSerializer();
string jsonString = serializer.Serialize(oList);
List
oListNew = serializer.Deserialize
- >(jsonString);
- (new StreamReader(response.GetResponseStream()).ReadToEnd());
//ser.Deserialize