Using JSON file populate list to different views

I am looking to use a JSON file to populate a list where each button points to a different view. If this is possible to even do with swiftUI are there any guides that I can follow?

Ex: Label: View Option A: NumberView() Option B: DetailView()

See the Apple Fruta example project.

Using JSON file populate list to different views
 
 
Q