using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
JObject json = (JObject)JsonConvert.DeserializeObject(json);
JObject monitorinfo = (JObject)JsonConvert.DeserializeObject(responseContent);
JArray jar = JArray.Parse(monitorinfo["data"].ToString());
string emsg = string.Empty;
mod.Success = Convert.ToBoolean(monitorinfo["success"]) ? 1 : 0;
if (mod.Success == 0)
{
mod.ReasonCode = monitorinfo["reason_code"].ToString();
mod.ReasonDesc = monitorinfo["reason_desc"].ToString();
}
modBLACKLIST mod1 = JsonConvert.DeserializeObject<modBLACKLIST>(risklist[j].ToString());
public class modGREYLIST : modCommonField
{
public string evidence_type { get; set; }
public string risk_level { get; set; }
public JArray risk_type { get; set; }
public string monitor_field_zh { get; set; }
public string evidence_type_zh { get; set; }
public string risk_level_zh { get; set; }
public JArray risk_type_zh { get; set; }
}