I have JSON code which I need to parse on swift language
{
data = {
id = "kUu6AXbbN2tEeCJJ22fdHh";
name = Ralf;
};
}
and this code which
if let myData = data{
do{
let myJson = try JSONSerialization.jsonObject(with: myData, options:
JSONSerialization.ReadingOptions.mutableContainers) as AnyObject}
catch{
}
In command line I can see my json structure and what I have inside but I can't understand how I can parse it. Can somebody help me please I just start working with swift