public void AddJsonToStringbuilder(StringBuilder stringbuilder) { stringbuilder.Append("{characterSheet:{"); _race.AddJsonToStringbuilder(stringbuilder); stringbuilder.Append(","); _characterClass.AddJsonToStringbuilder(stringbuilder); stringbuilder.Append(","); _attributeSet.AddJsonToStringbuilder(stringbuilder); stringbuilder.Append(","); stringbuilder.Append("\"Proficiencies\":["); stringbuilder.Append(string.Join(",", Proficiencies().Select(x => $"\"{x}\""))); stringbuilder.Append("],"); stringbuilder.Append("}}"); }