public string ToString(Newtonsoft.Json.Formatting formatting) { DebugEventArgs classData = this; return(JsonConvert.SerializeObject(classData, formatting)); }