Open gissuebot opened 9 years ago
Original comment posted by fry@google.com on 2011-12-05 at 06:54 PM
(No comment entered for this change.)
Labels: Type-Enhancement
Original comment posted by wasserman.louis on 2011-12-07 at 09:20 PM
I've slapped together my own implementation of this sort of thing, but an API thought out and designed to Guava standards, with proper escaping and everything, would be really cool.
Original comment posted by wasserman.louis on 2011-12-07 at 09:22 PM
(Possible issues might include the lack of any really solid standard. http://tools.ietf.org/html/rfc4180 is closest.)
Original comment posted by kevinb@google.com on 2012-05-30 at 07:43 PM
(No comment entered for this change.)
Labels: -Type-Enhancement
, Type-Addition
Original comment posted by kevinb@google.com on 2012-06-22 at 06:57 PM
(No comment entered for this change.)
Labels: Package-IO
Original comment posted by cpovirk@google.com on 2013-12-18 at 12:23 AM
Issue #1615 has been merged into this issue.
Original comment posted by cpovirk@google.com on 2013-12-18 at 04:57 PM
Issue #1615 has been merged into this issue.
Original issue created by j...@nwsnet.de on 2011-12-05 at 02:08 PM
I've hesitated to open this issue. The reason I did it anyway is that I'm both unsatisfied with the correctness (e. g. quote escaping) and API (I'd really embrace generics, iterables/collections instead of arrays, immutability etc.) of current implementations (I know of). Many projects seem to have stalled or don't look promising with regard to moving forward.
I'm totally aware to the fact that even though an RFC for CSV (comma-separated values) exists, there are various dialects. But then again, e. g. the Python stdlib's "csv" module [1] does a nice job of dealing with those.
OTOH, Guava provides a lot of great components to build a modern implementation, including char matchers, line processing, I/O suppliers, collections builders, unmodifiable iterators, tables etc. Those would support the creation of a clean implementation and API.
Oh, and last but not least, I'm convinced that Google must be doing something internally anyway to deal with CSV in lots and lots of places. Maybe there already is something that could be opened to the public?
[1] http://docs.python.org/library/csv.html#module-csv