------解决方案-------------------- 定义两个类:
public class JsonData
{
public int msgtype
{
get;set;
}
public string id
{
get;set;
}
public List<person> person
{
get;set;
}
}
public class person
{
public string username
{
get;set;
}
public string password
{
get;set;
}
public int client
{
get;set;
}
}