Flight-School / AnyCodable

Type-erased wrappers for Encodable, Decodable, and Codable values
https://flight.school/books/codable
MIT License
1.28k stars 132 forks source link

Auto-Unpacking #55

Closed mickeyl closed 3 years ago

mickeyl commented 3 years ago

I wonder whether there's a way to auto-unpack a [String: AnyDecodable] in a compiler-assisted way, i.e. if you know that you're dealing with a value in the directory that's, say, an array of int, can't we automatically get this?

minacle commented 3 years ago

No.