Decode JSON Objects and JSON Errors
SwiftUI Mastery Travel Discovery
In this lesson, we'll look at decoding JSON objects from the network using URLSession. This is done easily by creating Decodable objects inside of your Swift code. Category Endpoint: https://travel.letsbuildthatapp.com/travel_discovery/category?name=art

Comments (2)
turtle0001
2 years ago
In case you're having hard time figuring out why your version won't display anything after you make the URLSession request. Please check, maybe you just in to chance the URL into "https://travel.letsbuildthatapp.com/travel_discovery/category?name=art"
Brian Voong
2 years ago
turtle0001
2 years ago
@Brian, maybe you can also share how to make an API service. What would be a great learning opportunity for us. Thanks in advance! ??
Brian Voong
2 years ago
turtle0001
2 years ago
I’m not sure the correct term for that. API client or API services.
Brian Voong
2 years ago
HELP & SUPPORT