Answers for "swift decode data to json"

2

convert data to json swift

do{  
let json = try JSONSerialization.jsonObject(with: data!, options: []) as? [String : Any]
}catch{ print("erroMsg") }
Posted by: Guest on January-13-2022
0

swift json decode

let tableData = try decoder.decode([SAPB1_StockItem].self, from: jsonData)
Posted by: Guest on December-23-2021

Code answers related to "Swift"

Browse Popular Code Answers by Language