This is my Json file and i don't understand how to fetch data and set the Image in our SwiftUI code. please help me resolve this problem.
And this is My Model, is this model correct? This is My API and wants to fetch only value images array
https://www.alibrary.in/api/web-home
import Foundation
public struct BannerImages {
public let images: [String]
public init(images: [String]) {
self.images = images
}
}