internal static ThemeGridRangeItem FromJson(JsonObject json)
{
if (json == null) return null;
ThemeGridRangeItem item = new ThemeGridRangeItem();
item.Caption = json["caption"];
item.End = (double)json["end"];
item.Start = (double)json["start"];
if (json["color"] != null)
{
item.Color = ServerColor.FromJson((JsonObject)json["color"]);
}
item.Visible = (bool)json["visible"];
return item;
}