Sitelet https://github.com/dbgate/dbgate/issues/1539
Skip to content

BUG: Cell data view wrongly autodetects JSON for text starting with [ or { #1539

Description

@ezwelty

Describe the bug
Postgresql text columns starting with [ or { are shown as JSON ("Error parsing JSON") by cell data view's autodetect.

To Reproduce
Steps to reproduce the behavior:

  1. Add [ to a cell in a text column
  2. Click on the cell
  3. Set cell data view to autodetect

Expected behavior
Show text as text (wrap), show valid JSON as JSON.

Version Information (please complete the following information):

  • OS: Mac
  • App Version: 7.2.4
  • Install source: Installer
  • Type: Application
  • Database engine: PostgreSQL

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingsolvedPushed into GIT, but not yet released (after release issue will be closed)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions