1.将json字符串转化为动态类型并调用
dynamic d = JObject.Parse(actionModel.jsonEntity);
string username = d.UserName.ToString();
2.将json字符串直接转换为对象
var actionModel = Utils.ParseFromJson<ActionModel>(action);
EmailInfo entity = (EmailInfo)Newtonsoft.Json.JsonConvert.DeserializeObject(actionModel.jsonEntity, typeof(EmailInfo));