public string ToJsonText() { StringBuilder sb = new StringBuilder(); sb.Append("["); if (elements.Count > 0) { foreach (object value in elements) { sb.Append(StringMaker.MakeStringFromJson(value)); sb.Append(", "); } sb.Remove(sb.Length - 2, 2); } sb.Append("]"); return(sb.ToString()); }
public string ToJsonText() { return(StringMaker.MakeStringFromJson(value)); }