Python script to convert between JSON and CSV files
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
MOCK_DATA.csv
MOCK_DATA.json
README.md
json-csv-converter.py

README.md

json-csv-converter

Python script to convert between JSON and CSV files

Table of Contents

Installation

This script requires Python to be installed on the local machine. Please visit Python.org to install or type python3 --version to verify it is already installed.

Once Python is installed, clone the project or download the ZIP file and extract manually.

Usage

Place a JSON or CSV file within the same directory as the script. The JSON file must be an Array of Objects or Multidimensional Array.

Navigate to the directory where the script exists and begin by typing python3 json-csv-converter.py

Enter the name of the file (include the extension) when prompted.

The script will convert the file, creating a new file with the same basename. If the converted file's name exists a (1) will be added to the basename of the converted file.

Support

Please open an issue for support.