Hi guys. Half a year ago I was told that we can't change Codable for Swift 5, but I've decided to show how much more flexible we could make it, and maybe.. we still can?
This changes allows us to write superfast raw coders on top of UnsafeRawBufferPointer
or Substring
without extra allocations and without classes at all. And we can use anything as CodingKey not just String
/ Int
.
I don't think it'll pass so here the link: Revise Codable
I'll finish the implementation if anyone else is interested.