I saw somewhere on StackOverflow there was a website that converted your JSON API into Struct and Codable protocols and for the life of me, I can't find it. I did not bookmark it, unfortunately. Any help would be appreciated in finding this site.
2 Answers
Try Quicktype. this web app allows you to convert JSON in Swift Type or any language such as Go, Dart, Java, C++, RUBY, etc.
Comments
just paste your json code in there and see the result: jsoneditoronline
2 Comments
AltBrian
I think I have found it. It’s called Quicktype. I’ve closed my Mac so will check later.
Abbas Torabi
@AltBrian I check Quicktype. it's really good site. thank you