Codable

Jason Samui
Apr 8, 2021

--

I have recently learned how and what exactly “Codable” is and does. It is pretty slick. Before when I would code I would end up with a huge Constants file containing all the field names for the keys needed. With codable I can just use structs. It is making parsing , coding and decoding JSON so much easier for me. I think for a full stack developer it is ideal as it simplifies a lot of things. I know my last project this saved me a ton of time, I took the result from the server, wrote the structs and my very first call I had all the data in needed in the dictionary I was using. I am sure some of you this is not new, but for me it is a game changer. If your not familiar with this, you need to check it out!

--

--