Re: [swift-evolution] Add transformers to Codable

2017-12-19 Thread Tony Parker via swift-evolution
Hi Arsen, What’s the difference between providing a method that takes a transformable object on the keyed container protocol and just transforming it yourself before you encode it? - Tony > On Dec 18, 2017, at 8:51 AM, Arsen Gasparyan via swift-evolution > wrote: > > Hello everyone, > > I’

Re: [swift-evolution] Add transformers to Codable

2017-12-19 Thread Goffredo Marocchi via swift-evolution
+1 this is missing functionality at the moment and what still puts tools like Mantle ahead. Sent from my iPhone > On 19 Dec 2017, at 04:18, Charlie Monroe via swift-evolution > wrote: > > For me definitely +1 as it's getting near to what I need to call the Decoding > usable. > >> On Dec 18,

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 > relevantly complex data formats suc