Skip to content

[Feature]: Visualize JSONB as JSON #3578

Open

Description

@danielepolencic

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

Activity

  1. mgrojo commented on Mar 22, 2024

    @mgrojo
    Member

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

  2. danielepolencic commented on Aug 12, 2024

    @danielepolencic
    Author

    Would you be open to add a new entry "JSONB" in the mode dropdown?

    I feel this should work out of the box since it's a new type offered natively by SQLite.

  3. decadenza commented on Oct 1, 2026

    @decadenza

    This would be really useful. Currently the field is shown as:

    Image

    And:

    Image

    The workaround is to execute a query using SELECT json(data) FROM your_table;.
    If would be useful to have it integrated as "JSONB" menu entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions