protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
{
base.setJSON(obj, host, processed);
obj["ThePerson"] = ThePerson.getJson(this, processed);
obj["TheOrganization"] = TheOrganization.getJson(this, processed);
List<IfcActorRole> roles = Roles;
if (roles.Count > 0)
{
JArray array = new JArray();
foreach (IfcActorRole role in roles)
array.Add(role.getJson(this, processed));
obj["Roles"] = array;
}
}