JSON parsing in Swift

Here is the JSON File we will be using called animals.json

{
"Sea Animals": [
{"name": "Fish",
"question": "How many species of fish are there?" },{
"name": "Sharks",
"question": "How long do sharks live?"
},
{
"name": "Squid",
"question": "Do squids have brains?"
},
{
"name": "Octopus",
"question": "How big do octopus get?"
},
{
"name": "Star Fish",
"question": "How long do star fish…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mr.Javed Multani

Mr.Javed Multani

296 Followers

iOS Developer, Triple graduated, Passionate, Love workout, blogger