JSONEpochDateEncodable
public protocol JSONEpochDateEncodable: JSONEncodable
JSONEncodable child protocol with support for dates as timestamps
-
jsonEncoder
Extension method- return JSONDecoder with date encoding strategy for Seconds since 1970
Declaration
Swift
static var jsonEncoder: JSONEncoder