FasterXML / FasterXML/jackson-dataformats-text

Allow to use multiple-characters delimiter to separate column: withColumnSeparator

Open
#14 7 comments 6 reactions 0 assignees View on GitHub
csv
Dominant language
Java
Stars
455
Forks
164
Avg merge
6d 10h
Merged PRs (30d)
2

Description

(from https://github.com/FasterXML/jackson-dataformat-csv/issues/141 by @jefferyyuan)

It's common that we use multiple-characters delimiter to separate columns in CVS: such as: [|]
Sometimes, we have no choice as third-party defines the csv format like that.

Sample data:

```
FirstName[|]LastName[|]Address
John[|]Smith[|]123 Main St.
```

https://github.com/FasterXML/jackson-dataformat-csv/issues/92 supports to use multiple characters as array element separator, It would be great if same can be done for withColumnSeparator.

I did some google search: seems there is no java library that supports use multiple-characters as the column separator.

But the C# CsvHelper does
https://github.com/JoshClose/CsvHelper

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.