using (MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(data)))
{
DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(List<Employee>));
var employee = (List<Employee>)serializer.ReadObject(ms);
}
参考
https://developer.mozilla.org/en/XMLHttpRequest
%28v=vs.85%29.aspx
您可能感兴趣的文章: