GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Show JSONB blobs as JSON in the Edit Cell dock by deepsidhu1313 · Pull Request #4227 · sqlitebrowser/sqlitebrowser

Conversation

@deepsidhu1313

@deepsidhu1313 deepsidhu1313 commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Blobs that are SQLite JSONB arrays or objects (SQLite 3.45 and newer) are now shown as read-only JSON text when the Edit Cell dock is in one of the text or JSON modes, instead of the "Binary data can't be viewed in this mode" message. The data type stays Binary, so editing, applying and exporting work as before, and the info label reads "Binary (JSONB)".

The conversion is done by SQLite itself (json() on a :memory: handle). Only containers whose header size matches the blob length are detected, because most other short blobs are valid JSONB as well.

Add a test-jsonb target for the detection and conversion.

Closes #3578

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
claude added 4 commits October 25, 2026 04:04
@claude
Show JSONB blobs as JSON in the Edit Cell dock
17d039f
Blobs that are SQLite JSONB arrays or objects (SQLite 3.45 and newer) are
now shown as read-only JSON text when the Edit Cell dock is in one of the
text or JSON modes, instead of the "Binary data can't be viewed in this
mode" message. The data type stays Binary, so editing, applying and
exporting work as before, and the info label reads "Binary (JSONB)".

The conversion is done by SQLite itself (json() on a :memory: handle).
Only containers whose header size matches the blob length are detected,
because most other short blobs are valid JSONB as well.

Add a test-jsonb target for the detection and conversion.

Closes sqlitebrowser#3578

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@claude
Test the JSONB view of the Edit Cell dialog
55a4c77
Add a test-edit-dialog target that loads JSONB, binary and text data
into the dialog without a display and checks that JSONB is shown as
read-only JSON, that the editor is writable again for the next text
value, and that other binary data still shows the usual message.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@claude
Let the JSONB tests find the SQLite DLL on Windows
88cfbe7
test-global-filter needs the CMake prefix paths on PATH on Windows
because the CI jobs build SQLite as a DLL there. test-jsonb and
test-edit-dialog link SQLite too and crashed on Windows without them.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@claude
Build test-edit-dialog with Qt6 UI connections
99f3e3a
The .ui files connect to slots that don't exist in Qt6 (QDialog::help)
unless uic generates string based connections. The main target already
sets this option for Qt6, but test-edit-dialog compiles the dialogs'
.ui files as well and failed to build in the Windows on ARM job.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@lucydodo
lucydodo force-pushed the master branch from 503b6e4 to 6595568 Compare October 25, 2026 05:37

This branch has not been deployed

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

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Feature]: Visualize JSONB as JSON

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@deepsidhu1313 @claude
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.