How to convert a JSON file to an SQLite database

前端 未结 3 1381
滥情空心
滥情空心 2020-12-29 14:21

If I have some sample data, how do I put it into SQLite (preferably fully automated)?

{\"uri\":\"/\",\"user_agent\":\"example1\"}
{\"uri\":\"/foobar\",\"user         


        
3条回答
  •  执念已碎
    2020-12-29 15:03

    sqlitebiter appears to provide a python solution:

    A CLI tool to convert CSV/Excel/HTML/JSON/LTSV/Markdown/SQLite/TSV/Google-Sheets to a SQLite database file. http://sqlitebiter.rtfd.io/

    docs: http://sqlitebiter.readthedocs.io/en/latest/

    project: https://github.com/thombashi/sqlitebiter

    • last update approximately 3 months ago
    • last issue closed approximately 1 month ago, none open
    • noted today, 2018-03-14

提交回复
热议问题