This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Reads an Excel and writes as JSON | |
# - Assumes header row containing field names, first sheet is read | |
# - Keeps null values | |
# | |
# TODO: | |
# - accept filename and read based on extension (xlsx, xls, csv). | |
# - output actual JSON. | |
# - clean up. |
NewerOlder