internal static ThemeDotDensity FromJson(JsonObject json)
{
if (json == null) return null;
ThemeDotDensity dotDensity = new ThemeDotDensity();
dotDensity.DotExpression = (string)json["dotExpression"];
dotDensity.Style = ServerStyle.FromJson((JsonObject)json["style"]);
dotDensity.Value = (double)json["value"];
return dotDensity;
}