Dialect
public struct Dialect : Codable
Dialect are options to change the default CSV output format; https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#dialect-descriptions
-
Declaration
Swift
public enum Annotations : String, Codable, CaseIterable
-
Declaration
Swift
public enum DateTimeFormat : String, Codable, CaseIterable
-
If true, the results will contain a header row
Declaration
Swift
public var header: Bool?
-
Separator between cells; the default is ,
Declaration
Swift
public var delimiter: String?
-
Declaration
Swift
public var annotations: Array<Annotations>?
-
Character prefixed to comment strings
Declaration
Swift
public var commentPrefix: String?
-
Format of timestamps
Declaration
Swift
public var dateTimeFormat: DateTimeFormat?
-
Declaration
Swift
public init(header: Bool? = true, delimiter: String? = ",", annotations: Array<Annotations>? = nil, commentPrefix: String? = "#", dateTimeFormat: DateTimeFormat? = .rfc3339)