CSVEncodingFormat
public struct CSVEncodingFormat<K> : RSDStringSeparatedEncodingFormat where K : RSDDelimiterSeparatedEncodable
Implementation of the RSDStringSeparatedEncodingFormat
protocol that wraps a comma separated encodable.
-
Does this encoding format include a header?
Declaration
Swift
public var includesHeader: Bool
-
Returns a comma.
Declaration
Swift
public var encodingSeparator: String { get }
-
Returns
text/csv
.Declaration
Swift
public var contentType: String { get }
-
Returns
csv
.Declaration
Swift
public var fileExtension: String { get }
-
Declaration
Swift
public func fileTableHeader() -> String
-
Declaration
Swift
public func codingKeys() -> [CodingKey]