Login
From:
Matteo Manferdini
(Uncensored)
subscribe
Decoding and Flattening Nested JSON with Codable
https://matteomanferdini.com/swift-codable-nested-json/
links
backlinks
Tagged with:
prism
Roast topics
Find topics
Find it!
Nested JSON can be decoded in Swift using Decodable and JSONDecoder. To flatten it, use keyed and unkeyed containers.