From this json i want to retrieve the values of the key "name" and "image"
["count": 12, "results": [{
"pk": 6,
"fields": {
"name": "Kids Wear",
"image": "[imag.jpg]",
}
I have got error as **[ "Type 'Any' has no subscript members"]
when i tried to get value using below code
let val = (json["results"]!)
val[0]["fields"] as [string:Any]