internal static ThemeLabelBackSetting FromJson(JsonObject json)
{
if (json == null) return null;
ThemeLabelBackSetting backSetting = new ThemeLabelBackSetting();
if (json["backStyle"] != null)
{
backSetting.BackStyle = ServerStyle.FromJson((JsonObject)json["backStyle"]);
}
if (json["labelBackShape"] != null)
{
backSetting.LabelBackShape = (LabelBackShape)Enum.Parse(typeof(LabelBackShape), json["labelBackShape"], true);
}
else
{
//不处理null的情况
}
return backSetting;
}