Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swiftUI parse json from url

struct Response: Codable {
    var results: [Result]
}

struct Result: Codable {
    var trackId: Int
    var trackName: String
    var collectionName: String
}
Source by www.hackingwithswift.com #
 
PREVIOUS NEXT
Tagged: #swiftUI #parse #json #url
ADD COMMENT
Topic
Name
6+9 =