harelba / q

q - Run SQL directly on delimited files and multi-file sqlite databases
http://harelba.github.io/q/
GNU General Public License v3.0
10.15k stars 419 forks source link

Support json format ? #330

Open cocktail18 opened 2 months ago

cocktail18 commented 2 months ago

Hi, it is a very nice tool for me. But some of file lines of json string, any plan to support json format file ?

For example:

{"time": "2006-01-02 15:04:05TZ", "name":"nick", "icon":"http://icon.com/1.jpg"}
{"time": "2006-01-02 15:04:05TZ", "name":"nick2", "icon":"http://icon.com/1.jpg"}
{"time": "2006-01-02 15:04:05TZ", "name":"nick3", "icon":"http://icon.com/1.jpg"}
{"time": "2006-01-02 15:04:05TZ", "name":"nick4", "icon":"http://icon.com/1.jpg"}

Thanks.