-
Notifications
You must be signed in to change notification settings - Fork 361
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
Don't flat ObjectId's #175
Labels
Comments
Sounds reasonable, go for it. Actually, that might be a good default, no flag necessary. |
That pull request to the flat library should fix this issue if it get's accepted. I'll submit shortly a PR to json2csv with the necessary change in this library. |
Btw, in the meantime, what I currently do is |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello community,
What do you think about including and extra flag so that flatten won't flat an object if it is an ObjectId (from mongo)?
I'm having this issue where I pass a ObjectId to the csv export and it flattens it into smaller fields: _bsontype and id (with incomprehensible characters).
If you agree with this I can go forward and create the PR for it.
The text was updated successfully, but these errors were encountered: