Studying "Codable.swift" and "JSONEncoder.swift" to understand how decoding
works under the hood, I got confused about how CodingKey is implemented for
'enum'. Shouldn't have an extension of RawRepresentable to implement the
CodingKey protocol?

This is the answer I'm looking for, how the CodingKey protocol is
implemented on enum?

I appreciate any help, tks

Solli Honorio

-- 
"o animal satisfeito dorme". - GuimarĂ£es Rosa
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to