Skip to content
New issue

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

When parsing int values in JSON, the resulting csv has them as double #18

Open
jslong1 opened this issue Apr 17, 2017 · 6 comments
Open

Comments

@jslong1
Copy link

jslong1 commented Apr 17, 2017

Take the JSON in the Readme.md for example:
...
{
"name":"dasd",
"category": "reference",
"author": "Nigel Rees",
"title": "Sayings of the Century",
"price": 8.95,
"marks" : [3,99,89]
}
...

When the result for "marks", which is originally of type int, is parsed and examined in a text editor, it looks like this:
3.0,99.0,89.0

Can there be a fix for this, or are all ints going to be defaulted to doubles?

@jslong1 jslong1 changed the title When parsing Integer values in JSON, the resulting csv has them as Doubles When parsing int values in JSON, the resulting csv has them as double Apr 17, 2017
@curious95
Copy link
Collaborator

Yeah this issue is persisting. it will be fixed in the next build.

@jslong1
Copy link
Author

jslong1 commented Apr 18, 2017

That's great. Any ETA on when the next build is going to be released?

@curious95
Copy link
Collaborator

@jslong1 it'll take 1 more week.

@masudsarkar
Copy link

@curious95 was this fixed! i could still see the issue persisting.

@avalakusuma
Copy link

@curious95,
I can still see the issue in the 1.0.3 release. For my case it is converting id fields in my json file to double values in csv. Could you please fix the issue or is there any work around for this?

@AbhirajRTBA
Copy link

This issue still exist .Could you please fix the issue or is there any work around for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants