this is my JSON
]1
I can try to parse the Json But it's not parsing this is the code
if let Media_list = jsonData["staffData"] as? NSDictionary
{
print("this can call")
for i in 0 ..< Media_list.count {
if let kid = Media_list[i] as? NSDictionary
{
print("this the calling ")
let dataurl = kid["url"] as? String
self.urldummy.append(dataurl!)
print("dataurl",dataurl as Any)
let staffid = kid["staffId"]as? String
self.staffidDummy.append(staffid!)
let update = kid["updatedDate"]as? String
self.UpdateDummy.append(update!)
}
}
}
I want parse Json data and append to the array, pls help me....!