Skip to content

PrettyPrint JSON in String attributes #63

@dkBrazz

Description

@dkBrazz

Is your feature request related to a problem?

Sometimes JSON values are stored as String values instead of Map, and to examine such JSONs I need to copy text value and paste it into a JSON new scratch

In Some cases we have "xxxProperties" tables, containing mixed kinds of values in a "propertyValue" field with type "String"
For some properties it might be a boolean, int, string or a json

Describe the solution you'd like

Detection

Autodetection of json values in String attributes might be tricky, so I might be better to make it configurable

  • for a DB connection I would configure a table.attributeName pattern which I expect to be save to pbe parsed as JSON (in case of parsing errors I would expect a warning in IDE)
  • for a specific table view I would liket to have a toggle "autodetect JSON in Strings" which forces aggressive JSON autodetection, an all attributes in all items, including mixed attributes - part of items may have "propertyValue" unparsed, and some items having a valid JSON in "propertyValue" will show it as parsed

Viewing

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions