error: typeMismatch(Swift.Array<Any>, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "features", intValue: nil)], debugDescription: "Expected to decode Array<Any> but found a number instead.", underlyingError: nil))
struct ProductDetail: Decodable, Hashable {
let name: String
let sku: String?
let attributes: [ProductAttributes]
let images: [ProductDetailImage]
let features: [FeaturesContent]
}
struct FeaturesContent: Decodable, Hashable {
let items: [ItemsContent]
let title: String?
}
struct ItemsContent: Decodable, Hashable {
let name: String?
let value: String?
}
Обсуждают сегодня