Codable
A protocol that tells Swift to write the code converting a type to JSON and back. It works when every property is Codable and the property names match the JSON keys.
A protocol that tells Swift to write the code converting a type to JSON and back. It works when every property is Codable and the property names match the JSON keys.