Re: [swift-evolution] Add transformers to Codable

2017-12-18 Thread Charlie Monroe via swift-evolution
For me definitely +1 as it's getting near to what I need to call the Decoding usable. > On Dec 18, 2017, at 5:51 PM, Arsen Gasparyan via swift-evolution > wrote: > > Hello everyone, > > I’m suggesting to add a new way to encode/decode JSON properties for >

[swift-evolution] Add transformers to Codable

2017-12-18 Thread Arsen Gasparyan via swift-evolution
Hello everyone, I’m suggesting to add a new way to encode/decode JSON properties for relevantly complex data formats such as regular expressions, well-known text, hex colours, custom date formats. The problem: Image you have a struct called House struct House { let color: UIColor } and