Posts

Post not yet marked as solved
1 Replies
2.7k Views
It looks like the solution in this example for Swift 4 no longer works in Swift 5.https://forums.developer.apple.com/thread/80288struct Customer: Codable { let id: String let email: String let metadata: [String: Any] }What's the best way to decode an arbitrary dictionary in Swift 5? Is the codable protocol even an option? Do we manually parse it using JSONSerialization?
Posted
by shawnkc.
Last updated
.