Swift: Parsing Json string and populating information into a dictionary
问题 I'm currently learning about web services in Swift. I have this URL that shows recent earthquakes and other information regarding it. The code at the bottom is what I have so far, once I run it, it NSLogs a string in JSON format from the URL. Here are 3 records I have from the string. How do I parse this JSON string and take out the ID, title, and populate that information into a dictionary? html = [ { "response":1, "message":"OK", "count":50 }, { "id":133813, "title":"M 1.4 - 8km NE of