convert nscfstring to dictionary swift
do {
let dd = userInfo["extraData"] as! String
let con = try JSONSerialization.jsonObject(with: dd.data(using: .utf8)!, options: []) as! [String:Any]
print(con["message_id"])
catch {
print(error)
}