I\'m learning Swift lang and one of the things that would be great to hear others input about is \"How you handle models from JSON responses\"? For example -
I have
If you want a more rigorous approach and have access to JSON schemas as meta description for your JSON documents, I wrote a code generator which can handle those (JSON schema, draft 4):
https://github.com/werner77/MappableObjectGenerator
My tools supports basically any programming language, because it is based on code generation templates, but is focussed on ObjectiveC and Swift 4 support right now.