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…