Simon Willison’s Weblog

Subscribe

Friday, 18th November 2022

Datasette Lite: Loading JSON data (via) I added a new feature to Datasette Lite: you can now pass it the URL to a JSON file (hosted on a CORS-compatible hosting provider such as GitHub or GitHub Gists) and it will load that file into a database table for you. It expects an array of objects, but if your file has an object as the root it will search through it looking for the first key that is an array of objects and load those instead.

# 6:43 pm / datasette-lite, json, projects, datasette, cors

2022 » November

MTWTFSS
 123456
78910111213
14151617181920
21222324252627
282930