I have a data.json file containing this,

```
[
    {
        "question": "TEST QUESTIONS",
        "answer" : ["Answer1", "Answer2"],
        "correctAnswer": "Answer "
    },
    {
        "question" : "TEST QUESTION 2",
        "answer" : ["Answer1", "Answer2"],
        "correctAnswer" : "Answer 2"
    }

]

```

And i parse the data with this function

```
func Parser() -> [Questions] {
    let url = Bundle.main.url(forResource: "data", withExtension: "json")!
    let data = try! Data(contentsOf: url)
    let decoder = JSONDecoder()
    let questions = try? decoder.decode([Questions].self, from: data)
    return questions!
}

```

When i call `Parser()` how do I get the information such as question or answer, I thought to use `let question = Parser().question` but that doesn't work.

Any help would be appreciated