sorry if that was already asked,
is this possible in Swift 5 to create my own custom encoder/decoder pair for arbitrary structs that confirm to Codable protocol? if there's a sample code please point me to that.
let data = MyCoder().encode(value of ArbitraryCodableType)
let object = MyDecoder().decode(ArbitraryDecodableType.self, from: data)
the specifics of ArbitraryCodableType are not known to me at the point of implementing MyCoder / MyDecoder, only the fact that it is Codable