${iServerJava6R_LabelSymbolCell_Title}
${iServerJava6R_LabelSymbolCell_Description}
internal static LabelSymbolCell FromJson(System.Json.JsonObject json) { if (json == null) return null; LabelSymbolCell symbolCell = new LabelSymbolCell(); if (json["style"] != null) { symbolCell.Style = ServerStyle.FromJson((JsonObject)json["style"]); } symbolCell.SymbolIDField = (string)json["symbolIDField"]; return symbolCell; }
internal static string ToJson(LabelSymbolCell symbolCell) { string json = "{"; List<string> list = new List<string>(); list.Add(string.Format("\"symbolIDField\":\"{0}\"", symbolCell.SymbolIDField)); if (symbolCell.Style != null) { list.Add(string.Format("\"style\":{0}", ServerStyle.ToJson(symbolCell.Style))); } else { list.Add(string.Format("\"style\":{0}", new ServerStyle())); } list.Add(string.Format("\"type\":\"{0}\"", symbolCell.Type)); json += string.Join(",", list.ToArray()); json += "}"; return json; }