kotlin-csv
kotlin-csv copied to clipboard
Pure Kotlin CSV Reader/Writer
Path is a more flexible alternative to a File. Aside from better API, it allows working with virtual file systems such as Jar/Zip/S3.
Kotlin for WebAssembly is now [alpha](https://blog.jetbrains.com/kotlin/2023/12/kotlin-for-webassembly-goes-alpha/).
I extracted the CsvReader implementation for js into a common base class, CsvStringReader, and then reused it for both js and wasmJs actual implementations of CsvReader. js(BOTH) is deprecated, so...
**Describe the bug** trying to parse a csv record as """Permits complete"" received";;Phase 3 : 067f65dc7dc7f703229bcb7b3b21d9 , c227adc4c8ab8854dd8cc5764ce63deb1b with delimiter ',' and escape char '\' getting an error as com.github.doyaaaaaken.kotlincsv.util.CSVParseFormatException:...
I am using this method to convert from csv to xlsx ```` fun convertCsvToXlsx(file: File): File { val csvFileName = file.nameWithoutExtension val xlsxFile = File("${file.parent}/$csvFileName+1.xlsx") val csvData = mutableListOf() CsvReader().open(file)...
Closes #129 Allow An Error Interface Feature Request to allow to listen on what rows are skipped during read all with headers. This is specially useful for real business use...
they were use case that we want to process whatever processable row and keep other at bay so only those error rows will be retried after. Currently kotlin-csv only allow...
Closes #81 Implemented an additional attribute `withFieldAsNull` for the csv Reader context to indicate which fields should be handled as null and which as empty string. Based on the discussion...
The function `readAllAsSequence()` always read header row. Suggest to add an option to skip it. Option | default value | description -- | -- | -- skipHeaderRow | false |...
Hello. The library is marked as multiplatform, but it lacks iOS support. Please add it.