Decode a nested JSON structure with Swift Decodable
In a Json file, properties are often nested. This generates a longer or shorter path to the value. The access to this value can be direct with the use of containers. Example of a JSON file obtained with the OpenWeather API : { "coord": { ...
Dec 31, 20214 min read192