Files
reviews/Libraries/Foundation/Kit/Sources/Extensions/JSONEncoder+Constants.swift
T

23 lines
417 B
Swift
Raw Normal View History

2024-03-17 22:48:27 +00:00
//
// JSONEncoder+Constants.swift
// ReviewsiTunesKit
//
// Created by Javier Cicchelli on 17/03/2024.
// Copyright © 2024 Röck+Cöde VoF. All rights reserved.
//
import Foundation
extension JSONEncoder {
// MARK: Constants
public static let `default` = {
let encoder = JSONEncoder()
encoder.dateEncodingStrategy = .iso8601
return encoder
}()
}