Example #1
0
        public JObject ToJson()
        {
            JObject json = new();

            json["unconnected"] = new JArray(Unconnected.Select(p => p.ToJson()));
            json["bad"]         = new JArray(Bad.Select(p => p.ToJson()));
            json["connected"]   = new JArray(Connected.Select(p => p.ToJson()));
            return(json);
        }