Use this tag only for questions directly pertaining to the Swift Decodable protocol introduced in Swift 4.
I want to load an online json file into my application, but I am running into this error: typeMismatch(Swift.…
I am using Codable protocol from Swift 4 first time, I am not able to understand use of decodeIfPresent from Decodable. /// …
I had issue with JSON parsing in Swift 4.2. Here is the following code which shown runtime error. My Json data …
I have a JSON format which I do not decodable with Alamofire. Here is my json: "data":[ { "id":37, "status":"A\…
When conforming to Codable protocol, I cannot easily skip optional property of non-Codable class In Ride struct we want to …