Parsley.Net
is a .net utility to help parse Fixed Width
or Delimiter Separated
file using strongly typed objects.
It is a simple and easy to use library that can be used to parse delimeter separated files in .net applications. It is designed to be lightweight and fast, making it ideal for use in high-performance applications.
Fixed width
or Delimiter separated
text file is a file that has a specific format which allows for the manipulation of textual information in an organized fashion.
- Each row contains one record of information; each record can contain multiple pieces of data fields or columns.
- The data columns are separated by any character you specify called the delimiter.
- All rows in the file follow a consistent format and should be with the same number of data columns.
- Data columns could be empty with no value.
Example: Simple pipe '|' separated Delimeter File is shown below (this could even be comma ',' separated CSV)
|Mr|Jack Marias|Male|London, UK|Active|||
|Dr|Bony Stringer|Male|New Jersey, US|Active||Paid|
|Mrs|Mary Ward|Female||Active|||
|Mr|Robert Webb|||Active|||
Install the latest version of Parsley.Net nuget package with command below.
NuGet\Install-Package Parsley.Net
This comprehensive guide provides detailed information on Parsley, covering everything from basic concepts to advanced implementations and troubleshooting guidelines.
Please click on Developer Guide for complete details.
If you are having problems, please let me know by raising a new issue.
This project is licensed with the MIT license.
The main branch is now on .NET 9.0.
Version | Release Notes |
---|---|
v1.0.0 |
Notes |
v1.1.0 |
Notes |
v1.1.5 |
Notes |
Thank you for reading. Please fork, explore, contribute and report. Happy Coding !! :)