Sample Header Ad - 728x90

Convert SQLite CSV output to JSON

2 votes
3 answers
2013 views
I want to format SQLite output in JSON format from the command line. Currently, I have CSV output that looks like this: label1,value1 label2,value2 label3,value3 ... Now I'd like to have it formatted like this: {'label1' : 'value1', 'label2': 'value2', ... } Thanks!
Asked by michelemarcon (3593 rep)
Jan 13, 2016, 03:45 PM
Last activity: Jun 12, 2025, 08:10 PM