-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
?json=URL parameter for loading JSON data #54
Comments
This first implementation only handles |
I'm just going to implement it such that it searches for the first key of the dictionary that's a list with at least one object in it. |
Got it working such that if the data has NO lists of objects in it you get this error: For this example: https://github.com/simonw/datasette/blob/main/package.json But if the data DOES have a list of objects it works - e.g. for https://github.com/simonw/usgs-scraper/blob/main/usgs.json |
Support both a JSON file that's a list of objects and a JSON file which is an object but where one of the keys is a list of objects (pick the key with the most objects in it).
The text was updated successfully, but these errors were encountered: