Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Convert numeric CSV data to numeric types in JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
sldblog committed Jul 28, 2021
1 parent c05facc commit 93b5bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/convert_all
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh -e
for f in **/*.csv; do
echo "Converting $f to JSON"
csvtojson "$f" > "${f%.csv}.json"
csvtojson --checkType=true "$f" > "${f%.csv}.json"
done

0 comments on commit 93b5bc1

Please sign in to comment.