internal static ThemeGraphText FromJson(System.Json.JsonObject json)
{
if (json == null) return null;
ThemeGraphText graphText = new ThemeGraphText();
graphText.GraphTextDisplayed = (bool)json["graphTextDisplayed"];
if (json["graphTextFormat"] != null)
{
graphText.GraphTextFormat = (ThemeGraphTextFormat)Enum.Parse(typeof(ThemeGraphTextFormat), json["graphTextFormat"], true);
}
else
{
//不处理null的情况
}
graphText.GraphTextStyle = ServerTextStyle.FromJson((JsonObject)json["graphTextStyle"]);
return graphText;
}