json序列指定名称

class jsonModel
{
public string md5 { get; set; }
public object report { get; set; }
public string @version { get; set; }
[JsonProperty(PropertyName = "@timestamp")]
public string @timestamp { get; set; }
/// <summary>
/// 危险等级
/// </summary>
public string behaviors_grade { get; set; }
}

原文地址:https://www.cnblogs.com/guozhe/p/5474291.html