标签: ios json swift casting
let list: Array<JSON> = json.arrayValue for element in list { print(element["id"]) print(element["name"]) print(element["url"]) var imageUrl:NSURL?=NSURL(string:(element["url"]as?String)!) }