options: [
"6GB RAM/128GB",
"8GB RAM/128GB",
"12GB RAM/256GB"
]
This JSON I want to parse using struct.
I have coded upto this :
struct Atts: Codable {
let options: [Options]
enum CodingKeys: String, CodingKey {
case options
}
}
struct Options: Codable {
}
But How to access the three elements in the "options" array?
Thanks in adv.