14 lines
465 B
Markdown
14 lines
465 B
Markdown
JSON to CSV
|
|
=
|
|
|
|
with support for nested structures
|
|
|
|
Steps
|
|
|
|
* place the transactions.json file in the same directory
|
|
* adjust the flat_keys and extract_keys variables in the main.py
|
|
* install required packages `pip install -r requirements.txt`
|
|
* run `python3 main.py`
|
|
* if successful will create a transactions.db (sqlite database)
|
|
* can be used with anyother tool to convert to csv
|
|
* one way to export to csv is is `https://www.sqlitetutorial.net/sqlite-export-csv/` |