public void _OnIncomingOrder(string pResponse) { SSDictionary response = JsonConvert.DeserializeObject <SSDictionary>(pResponse); if (response.ContainsKey("order")) { if (response["order"] == "quit") { QuitOrder?.Invoke(); } } }