A program to transform a json file into csv and vice versa. Quellcode of this project can be found here
Tk is used to select file.
In order to use Tk, if not already installed use following code:
sudo apt-get install python3-tk
I used www.mockaroo.com to create json and csc files.
The program will ask the user for a file, either json or csv.
Then it will check the filetype and parse the filepath to either jsonHandler or csvHandler.
Both handler will ask the user for certain choices how to proceed with the file.
After adjusting the value of a key, he gets asked how to save the file.
He can choose json or csv. After that, he will be stuck in a loop to make further adjustments to the file.
The user can exit the loops by typing exit.
If saving the file in another format like json to csv or csv to json,
the filename gets from_json or from_csv appended!