Skip to content
/ Dsv Public

.NET Standard Library for Parsing DSV (Delimiter-Separated Values) data like CSV

License

Notifications You must be signed in to change notification settings

atifaziz/Dsv

Repository files navigation

Dsv

Build Status NuGet MyGet

Dsv is a .NET Standard Library for parsing delimiter-separated values, like CSV (comma-separated values) data. It has a functional design in that most data structures are immutable and there is no shared state.

The goal of the project is to support common formats. It is a non-goal to try and support malformed cases of a DSV format and recover from errors.

Features:

  • Custom delimiter character
  • Quoting character, e.g. "
  • Escape character
  • Multi-line rows
  • Error detection (missing delimiter or end-quote)
  • Line and column information on error
  • Uneven rows
  • Lazy (in consuming a source and producing rows)
  • Pull (sync or async enumerables) & push (observables) parsing

See the parser test cases for how DSV data is handled.

About

.NET Standard Library for Parsing DSV (Delimiter-Separated Values) data like CSV

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages