日期:2014-05-17 浏览次数:21063 次
[
{
parid:39,
child:[
{menuid:40,oper:{browse:1,add:2,modify:3,del:4}},
{menuid:41,oper:{browse:1,add:2,modify:3,del:4}},
{menuid:42,oper:{browse:1,add:2,modify:3,del:4}},
{menuid:47,oper:{browse:1,add:2,modify:3,del:4}}
]
},
{
parid:49,
child:[
{menuid:51,oper:{browse:1,add:2,modify:3,del:4}},
{menuid:52,oper:{browse:1,add:2,modify:3,del:4}}
]
}
]
public class agJson
{
int parid;
public int ParID
{
get { return parid; }
set { parid = value; }
}
List<Child> listchild;
public List<Child> ListChild
{
get { return listchild; }
set { listchild = value; }
}
}
public class Child
{
int menuid;
public int MenuID
{
get { return menuid; }
set { menuid = value; }
}
List<Oper> listoper;
public List<Oper> ListOper
{
get { return listoper; }
set { listoper = value; }
}
}
public class Oper
{
int browse;
public int Browse
{
get { return browse; }
&n