Category "decodable"

How to decode JSON array as property of struct with JSONDecoder

I had data struct like this { "version": 1, "profile": [ { "type": "name", "value": "Hellow" }, {

How to decode JSON array as property of struct with JSONDecoder

I had data struct like this { "version": 1, "profile": [ { "type": "name", "value": "Hellow" }, {

Leading zeros cut from JSON response when using enum

Essentially I am using enum to account for instances where code is either and int or string - but it appears when the JSON value is simply an int with leading 0

Implementing Codable for UIColor

Is it possible to implement the Encodable and Decodable properties for UIColor When I try to add a Decodable extension I get an error extension UIColor : Deco