如何将JSON对象转换为自定义C#对象?
{ "user": { "name": "asdf", "teamname": "b", "email": "c", "players": ["1", "2"] }}
[WebMethod]public static void SaveTeam(Object user){}
public class User{ public string name { get; set; } public string teamname { get; set; } public string email { get; set; } public Array players { get; set; }}
慕后森