Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift convert data to dictionary

do{  
let json = try JSONSerialization.jsonObject(with: data!, options: []) as? [String : Any]
}catch{ print("erroMsg") }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #convert #data #dictionary
ADD COMMENT
Topic
Name
4+4 =