MonoTouch.Dialog.JsonObjectExtensions.sl C# (CSharp) Method

sl() public static method

public static sl ( this json, string name ) : List
json this
name string
return List
		public static List<string> sl(this JsonObject json, string name){
			var result = new List<string>();
			if (json!=null && json.ContainsKey(name)) {
				foreach (var e in json[name]){
					result.Add(e.ToString().Clean()); // TODO: is this a bug with JsonObject?
				}
			}
			return result;
		}