//解析用户组json
private List<object> UpdateGroup_mem_Controls(string json)
{
List<object> lists = new List<object>();
JArray userArry = (JArray)JsonConvert.DeserializeObject(json);
//获取树形用户json字符串
string userList = userArry.ToString();
//解析用户json信息
JArray jar = (JArray)JsonConvert.DeserializeObject(userList);
for (int i = 0; i < jar.Count; i++)
{
JObject j = JObject.Parse(jar[i].ToString());
string name = j["name"].ToString();
string base64 = j["base64"].ToString();
var obj = new { name = name, base64 = base64 };
lists.Add(obj);
}
return lists;
}