Skip to content
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

[Feature]: Visualize JSONB as JSON #3578

Open
danielepolencic opened this issue Feb 29, 2024 · 1 comment
Open

[Feature]: Visualize JSONB as JSON #3578

danielepolencic opened this issue Feb 29, 2024 · 1 comment

Comments

@danielepolencic
Copy link

Describe the new feature

SQLite 3.45.0 introduced JSONB, a binary encoding of JSON stored as a BLOB.
Unfortunately, inspecting rows in the database with this format is hard because they are not readable.
The "edit database cell" section only supports "Mode: binary", which shows the binary format, not the actual JSON.

image

The current workaround is to issue a query that converts the blob into actual JSON with SELECT json(jsonb_column) AS actual_json FROM ....

Ideally, there is a new mode to inspect JSONB blobs and display them as actual JSON.

image

Does this feature exist in another product or project? Please provide a link

No response

Do you have a screenshot? Please add screenshots to help explain your idea.

Screenshot 2024-02-29 at 09 35 00
@mgrojo
Copy link
Member

mgrojo commented Mar 22, 2024

If you don't need to edit the column, you can use a display format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants