We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://latest.datasette.io/fixtures/binary_data.json?_sort_desc=data&_shape=array returns this:
[ { "rowid": 1, "data": "this is binary data" } ]
But adding &_nl=on returns this: https://latest.datasette.io/fixtures/binary_data.json?_sort_desc=data&_shape=array&_nl=on
&_nl=on
{ "ok": false, "error": "Object of type bytes is not JSON serializable", "status": 500, "title": null }
I found this error by running wget -r 127.0.0.1:8001 against my local fixtures.db.
wget -r 127.0.0.1:8001
fixtures.db
The text was updated successfully, but these errors were encountered:
8e7e645
Release 0.48
52eabb0
Refs #939, #938, #935, #914
Demo of the fix: https://latest.datasette.io/fixtures/binary_data.json?_sort_desc=data&_shape=array&_nl=on
{"rowid": 2, "data": {"$base64": true, "encoded": "FRwDx60F/g=="}} {"rowid": 1, "data": {"$base64": true, "encoded": "FRwCx60F/g=="}}
Sorry, something went wrong.
No branches or pull requests
https://latest.datasette.io/fixtures/binary_data.json?_sort_desc=data&_shape=array returns this:
But adding
&_nl=on
returns this: https://latest.datasette.io/fixtures/binary_data.json?_sort_desc=data&_shape=array&_nl=onI found this error by running
wget -r 127.0.0.1:8001
against my localfixtures.db
.The text was updated successfully, but these errors were encountered: