-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Make CustomJSONEncoder a documented public API #1983
Comments
datasette/datasette/utils/__init__.py Lines 163 to 178 in 7b48664
|
I had forgotten this had special handling for cursors! The default representation of a row as a tuple rather than a dictionary might not be the right thing to do based on: |
Yes please, and thank you. I realized I was maybe getting myself in trouble using that, but I think it's a good way to standardize JSON handling. |
It's used by
datasette-geojson
here: eyeseast/datasette-geojson@902bf13The text was updated successfully, but these errors were encountered: