<div dir="ltr"><div><br></div><div></div><div><div>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?</div><div><br></div><div>This is the answer I'm looking for, how the CodingKey protocol is implemented on enum?<br></div></div><div><br></div><div>I appreciate any help, tks </div><div><br></div><div>Solli Honorio</div><div><br>-- <br><div class="gmail_signature">"o animal satisfeito dorme". - Guimarães Rosa</div>
</div></div>