Hey there, as I am working on this project I've come across an issue when trying to list another value such as: item.meanings
I followed the same solution you recommended with your comment and updated the struct Meaning with the CodingKeys and UUID() but it will not work in a ForEach. Any ideas? Thank you again!
Post
Replies
Boosts
Views
Activity
Hey there,
Thanks so much for responding with this solution. It worked like a charm without having to use any external libraries to parse. I really appreciate this + the comments with the differences.
Cheers! 👍
Hello there
Thank you for your response. The changes to my do-catch + error response I will definitely implement!
In regards to the JSON response, I utilized the Free Dictionary APIs main example response in their homepage link and I inputted it into the JSON Quicktype tool I found recommended online when creating Swift structs which I generates all the potential JSON values and marks as optional. Thanks again, cheers. 👍
Hey there,
I really appreciate your response. Thanks for the suggestions, I will look into all of them and see which fits my situation best. I am going to give JSONDecoder a try and see if I can set it up. Cheers! 👍