it-tools
it-tools copied to clipboard
Add example code in JSON to CSV
What type of request is this?
New tool idea
Clear and concise description of the feature you are proposing
It would be great to have an example JSON loaded on the JSON to CSV page.
Something like the below:
[ {'Age': 18.0, 'Salary': 20000.0, 'Gender': 'Male', 'Country': 'Germany', 'Purchased': 'N'}, {'Age': 19.0, 'Salary': 22000.0, 'Gender': 'Female', 'Country': 'France', 'Purchased': 'N'}, {'Age': 20.0, 'Salary': 24000.0, 'Gender': 'Female', 'Country': 'England', 'Purchased': 'N'} ]
Is their example of this tool in the wild?
No response
Additional context
No response
Validations
- [X] Check the feature is not already implemented in the project.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- [X] Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).
@Swamp2k9 added default example value in pr: https://github.com/CorentinTh/it-tools/pull/1355
@Swamp2k9
since PRs are a bit backed up you can use this image in your docker-compose file if you want this functionality along with my other additions as well until the main branch has been updated:
docker image:
ghcr.io/gitmotion/it-tools:latest
- you may need to clear cache and hard reload to get new features loading
OR locally
from github repo (copy & paste oneliner):
git clone -b gitmotion/main https://github.com/gitmotion/it-tools.git && cd it-tools/ && pnpm i && pnpm dev
- (installing packages for the first time may take some time but wait till it finishes)
Hi @Swamp2k9 @gitmotion , implemented: https://sharevb-it-tools.vercel.app/json-to-csv, https://sharevb-it-tools.vercel.app/json-to-data
And if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)