AnyCodable
AnyCodable copied to clipboard
Access to custom coding strategies in AnyEncodable?
According to Itai Ferber on the Swift forums the implementation used in AnyEncoder is incorrect because it can't access custom encoding strategies of the type-erased type:
See https://forums.swift.org/t/how-to-encode-objects-of-unknown-type/12253/6
Any ideas? I mean this would only be a problem for custom types right?