internal static ThemeRangeItem FromJson(JsonObject json)
{
if (json == null) return null;
ThemeRangeItem item = new ThemeRangeItem();
item.Caption = json["caption"];
item.End = (double)json["end"];
item.Start = (double)json["start"];
if (json["style"] != null)
{
item.Style = ServerStyle.FromJson((JsonObject)json["style"]);
}
item.Visible = (bool)json["visible"];
return item;
}