Comments (5)
Thanks again for reporting this @pavelhoral. I'll be pushing version 3.15.1
to NPM shortly which fixes the issue you identified.
from json-2-csv.
Thanks for reporting this @pavelhoral and apologies that it wasn't working as anticipated for your use case. I've confirmed I can reproduce this issue. I suspect it's a bug with the CSV string parser logic where something isn't quite getting stored properly. I should have some time to walk through this closer this coming weekend, so I'll keep you posted as to when I have a fix published on NPM.
from json-2-csv.
This bug still exists in the latest 4.1.0 version. From this test file I am getting two incomplete rows
test.csv
from json-2-csv.
I have created new issue #240 because of no answer
from json-2-csv.
Hi @symbianm. The bug reported in this issue is not still present in 4.1.0
. As tested with the latest release, the output for the CSV sample provided with this issue returns the following, which is correct:
[
{
"first": "hello\n",
"second": "world"
}
]
I will now switch over to #240 to look into the separate issue you're reporting.
from json-2-csv.
Related Issues (20)
- Can't be use with a stringify object but only with object that fields are strings HOT 1
- CSV string returned prepends numbering to headers HOT 3
- No keyPath was provided HOT 2
- CSV output is incorrect when JSON value is object or null HOT 1
- Problem with list of objects same keys HOT 6
- parseValue not in type definitions
- Prevent CSV Injection
- Headerless CSV HOT 3
- Custom sorting of headers HOT 2
- How to properly change mongoDB timestamp to proper date? HOT 1
- TypeError: Cannot convert undefined or null to object HOT 1
- Private Vulnerability Disclosure HOT 1
- csv2json Allow CSV Files Without Headers HOT 3
- NestedDotKeys with false and 0 are returned as undefined HOT 4
- prependHeader: false, is not working HOT 2
- Paginated conversion ? HOT 1
- "expandArrayObjects" option not behaving as expected HOT 3
- sync version HOT 2
- Incorrect parsing of wrapped values when the new line is right after the starting quote HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-2-csv.