Skip to content

vadimbakaev/csv-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csv-parser

Run

To run all test:

clean test

To start application use:

run

What is implemented?

  • The quoting character should be configurable, defaulting to "
  • The line separator should also be configurable, defaulting to \n
  • The field delimiter should also be configurable, defaulting to ,
  • The CSV can contain an optional header row
  • String values can be optionally quoted, enclosed in the predefined quoting character
  • The parser should handle new line characters embedded in a quoted cell
  • The parser should handle field delimiters inside quoted cells
  • Two consecutive field delimiters mean the value is absent/null
  • A field where part of the text appears as "quoted" and part as not quoted should be interpreted as a single field
  • The input file can potentially be very large(Tested with 1 GB file)
  • Handle files in arbitrary encodings other than UTF-8

About

csv-parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages