${REST_ThemeGraphSize_Title}
${REST_ThemeGraphSize_Description}
internal static ThemeGraphSize FromJson(JsonObject json) { if (json == null) return null; ThemeGraphSize graphSize = new ThemeGraphSize(); graphSize.MaxGraphSize = json["maxGraphSize"].GetNumberEx(); graphSize.MinGraphSize = json["minGraphSize"].GetNumberEx(); return graphSize; }
internal static string ToJson(ThemeGraphSize graphSize) { string json = ""; List<string> list = new List<string>(); list.Add(string.Format("\"maxGraphSize\":{0}", graphSize.MaxGraphSize.ToString())); list.Add(string.Format("\"minGraphSize\":{0}", graphSize.MinGraphSize.ToString())); json = string.Join(",", list.ToArray()); return json; }