Using data from json.file in ContentView

I have a json file that looks like this
Code Block json
[
  {
    "name": "Dune",
    "author": "Frank Herbert",
    "page": 77
  },
  {
    "name": "Ready Player One",
    "author": "Ernest Cline",
    "page": 234
  }
]

I want to iterate through this in my ContentView. I have another view called BookView that is used like this:
Code Block swift
BookView(name: "Dune", author: "Bob", page: "77")

that will be taking data from the json file and these views will be displayed in a Form. The UI is working but I cannot actually make it run off my data

I have tried so many articles online and nothing is working.
Please can someone help me.
Using data from json.file in ContentView
 
 
Q