Decoding/parsing CSV and CSV-like files in Swift
问题 I'll have to write a very customised CSV-like parser/decoder. I have looked for open source ones on Github, but not found any that fits my needs. I can solve this, but my question is if it would be a total violation of the key/value decoding, to implement this as a TopLevelDecoder in Swift. I have keys, but not exactly key/value pairs. In CSV files, there is rather a key for each column of data, There are a number of problem with the files I need to parse: Commas are not only for separation