See more
“Automatching” is only available with type values such as struct, if you want your class to work with Codable you have to always provide a custom init.
Codable