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

Ability to select the columns of interest #60

Open
vasuh opened this issue Mar 25, 2019 · 3 comments
Open

Ability to select the columns of interest #60

vasuh opened this issue Mar 25, 2019 · 3 comments

Comments

@vasuh
Copy link

vasuh commented Mar 25, 2019

Hi,

I have a json to be converted to csv which seems to be doing fine with jsonexport.
In addition, I have used the headers and rename options to specify the header and equivalent names and its working well.

The json object has a number of fields and I am interested in a subset of them. Is this possible?. For eg, if the column headers are field1, field2, field3.. etc, say I need only field1 and field2. How would I go about selecting them?

Thanks
Vasu

@AckerApple
Copy link
Collaborator

If you send jsonexport only the data you want to export, then you will have the data you want exported.

Basic simple JavaScript should be used to manipulate your data to exactly what you want exported, and then you export it.

If jsonexport did everything for us, I’d play pinball all day

@vasuh
Copy link
Author

vasuh commented Mar 25, 2019

Thanks for the response.
Thats OK, wanted to make sure if there was an option I wasnt aware of /using incorrectly.

@kaue
Copy link
Owner

kaue commented May 23, 2020

@vasuh I will consider adding an option to filter a subset of headers.

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

No branches or pull requests

3 participants