Moved the JSONDecoder+Constants extension from the iTunes library to the Foundation library.

This commit is contained in:
Javier Cicchelli 2024-03-17 22:23:59 +01:00
parent e10c1c9f59
commit db6500589a

View File

@ -11,7 +11,7 @@ import Foundation
extension JSONDecoder { extension JSONDecoder {
// MARK: Constants // MARK: Constants
static let `default` = { public static let `default` = {
let decoder = JSONDecoder() let decoder = JSONDecoder()
decoder.dateDecodingStrategy = .iso8601 decoder.dateDecodingStrategy = .iso8601