📜  swiftUI 从 url 解析 json - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:00.999000             🧑  作者: Mango

代码示例1
struct Response: Codable {
    var results: [Result]
}

struct Result: Codable {
    var trackId: Int
    var trackName: String
    var collectionName: String
}