DateEncodingStrategy

extension JSONEncoder.DateEncodingStrategy
  • Custom encoding strategy for iso8601 strings with milliseconds.

    Declaration

    Swift

    static let iso8601ms: JSONEncoder.DateEncodingStrategy