Add ID Property on Struct Fetched From JSON

I have a ‘Recipe’ struct whose instances are created by parsing a JSON file. All the properties of Recipe map to the JSON, except for one: id. I want each struct instance to be uniquely identifiable via this property, and it should be generated whenever the struct is instantiated, however, when instances of struct are… Read More Add ID Property on Struct Fetched From JSON