Parsing null values in JSON

struct sourceDetails : Decodable {
let id : String?
let name : String
}

And your question is?

Please post a detailed descriptions of your issue and a question if there is any to avoid being flagged (IIRC several of your posts were too random and were flagged by admins.). It would also be nice if you would properly format code snippets. Best regards.

1 Like