JSONDecoder
class JSONDecoder
-
Returns a default
JSONDecoder
which can decode ISO8601 dates with and without millisecondsDeclaration
Swift
public static func dateFormattingDecoder() -> JSONDecoder