We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is the input sample:
,A,B #,"Comment of A have multi lines",Comment of B ,"Data of A have multi lines",Data of B
config is:
{ quoteChar: '"', escapeChar: '"', header: true, comments: '#', skipEmptyLines: true, }
I expect to read correctly a line of data:
[ {"": '', A: 'Data of A have\nmulti lines', B: 'Data of B'} ]
But it throw "FieldMismatch" error, and the parsed data is:
[ {"": 'multi lines"', A: 'Comment of B'}, {"": '', A: 'Data of A have\nmulti lines', B: ' Data of B'} ]
If change the sample to this:
,A,B #,Comment of A,Comment of B ,"Data of A have multi lines",Data of B
This sample can be parsed correctly.
Does that mean parser doesn't support newline in comment lines?
If not, how can I get the result I want?
The text was updated successfully, but these errors were encountered:
Relative disscussion: #1031
Sorry, something went wrong.
No branches or pull requests
Here is the input sample:
config is:
I expect to read correctly a line of data:
But it throw "FieldMismatch" error, and the parsed data is:
If change the sample to this:
This sample can be parsed correctly.
Does that mean parser doesn't support newline in comment lines?
If not, how can I get the result I want?
The text was updated successfully, but these errors were encountered: