Using Python, convert an Excel (xlsx or xls) document to JSON
- pylightxl
- xlrd
you can run pip3 install pylightxl xlrd
in your terminal/command window if you don't have these dependencies installed
- Run the command
python3 xlstojson.py
in your terminal/command window - Do what the prompt says (which is enter the path to the file)
A .json file matching the name of your xlsx document will be generated.
I wrote this six years ago; it was the first thing I'd ever written in Python. This code was written about as well as a non-Python programmer programming Python could write it.
I have made attempts to improve it, but I may still not know what I'm doing