Our great sponsors
-
Why not use a proper CSV parsing library like kantan.csv?
-
Another library was linked. I use https://github.com/tototoshi/scala-csv often
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
alpakka
Alpakka is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Akka.
Alpakka uses a state to track separators and quotes. Rather ugly code; https://github.com/akka/alpakka/blob/master/csv/src/main/scala/akka/stream/alpakka/csv/impl/CsvParser.scala If you think "," is hard think about "\n" where parsing the input line-by-line is fundamentally wrong ;)