public string SelectedTagsToJson() { Val[] tagNamesArray = SelectedTags .OrderBy(x => x.Value) .Select(x => new Val { Value = x.Value }) .ToArray(); return(JsonSerializer.Serialize(tagNamesArray)); }
public string SelectedTagsToJson() { Val[] tagNamesArray = SelectedTags .OrderBy(x => x.Value) .Select(x => new Val { Value = x.Value }) .ToArray(); return(JsonSerializer.Serialize(tagNamesArray)); }