I cannot find any documenation on Encodable or Decodable as to any claim that computed properties are/will-be always ignored. I'm actually hoping this is the case to allow for less coding.
Issue: I have a struct with a fairy large number of properties. I need to add a few computed properties. I've noticed that computed properties are ommitted from the resultant ouput (e.g. JSON, property list). This is nice as I don't have to set up a fairly large CodingKeys enum.
Anyone know if computed properties will always be ommitted? If not, the workarounds are to either provide a CodingKeys enum, or to just use functions instead of computed properties.
Thank you.