static private ToJson ( |
||
themeCell | ||
return | string |
internal static string ToJson(LabelThemeCell themeCell)
{
string json = "{";
List<string> list = new List<string>();
if (themeCell.ThemeLabel != null)
{
list.Add(string.Format("\"themeLabel\":{0}", ThemeLabel.ToJson(themeCell.ThemeLabel)));
}
else
{
list.Add("\"themeLabel\":null");
}
list.Add(string.Format("\"type\":\"{0}\"", themeCell.Type));
json += string.Join(",", list.ToArray());
json += "}";
return json;
}