protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed) { base.setJSON(obj, host, processed); JArray array = new JArray(); foreach (IfcCartesianPoint p in Points) array.Add(p.getJson(this, processed)); obj["Points"] = array; }