与上面的Array<T> 类似,如果K 和T 是可解码Dictionary<K,T> 就能解码。 let decoder = JSONDecoder() let beers = try decoder.decode([[String:Beer]].
確定! 回上一頁