kantan.csv
kantan.csv copied to clipboard
CSV handling library for Scala
Following a discussion with @aroberts on [gitter](https://gitter.im/nrinaudo/kantan.csv?at=588ba48cdb9cafe9183e0ab6): ```scala import kantan.csv._ import kantan.csv.ops._ object Test extends App { val input = "true,1,2\nfalse,foo,bar" sealed abstract class Foo extends Product with Serializable final...
Encoding currently relies on implicit values of `scala.io.Codec` being in scope, which can be unpleasant. First, there's _always_ an implicit value in scope, the system's default, which can cause unexpected...
It's a bit of a mystery as they all look very straightforward, but they sometimes fail to generate test cases and cause the entire build to fail. Specifically, the generators...
This will take some work to fix, but is probably not too difficult: all write operations simply need to return a `WriteResult[CsvWriter]` rather than a plain `CsvWriter`.
Libraries that should be included, if they pass tests, are: - ~~[scala-csv](https://github.com/tototoshi/scala-csv)~~ - [PureCSV](https://github.com/melrief/PureCSV) (currently fails tests, but it should be possible to get it to work) - [Delimited](https://rockymadden.com/delimited/) -...
There are at least two unofficial CSV features that I've yet to encounter: - Comments (anything between a `#` and a line break, apparently). - Escaped characters (`\` is sometimes...
kantan.csv doesn't appear to behave well when the column separator is "any non-0 number of spaces". Is this something we want to support?
Updates * [org.scala-lang:scala-library](https://github.com/scala/scala) * [org.scala-lang:scala-reflect](https://github.com/scala/scala) from 2.12.15 to 2.12.17. [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.12.17) - [Version Diff](https://github.com/scala/scala/compare/v2.12.15...v2.12.17) I'll automatically update this PR to resolve conflicts as long as you don't change it...
Updates [com.opencsv:opencsv](https://sourceforge.net/p/opencsv/source/ci/master/tree/) from 5.5.2 to 5.7.0. I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd like to skip this version, you...
Updates [com.fasterxml.jackson.dataformat:jackson-dataformat-csv](https://github.com/FasterXML/jackson-dataformats-text) from 2.13.1 to 2.13.4. I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd like to skip this version, you...