'DataGrip view JSON in pretty

Is there a way to view JSON in a pretty format with lines wrapped when selecting the column in DataGrip? In MySQL Workbench there's a nice option of "Open value in Editor". The "Edit Maximized" does not wrap or fit in screen.

DataGrip: enter image description here

MySQL Workbench enter image description here



Solution 1:[1]

You can use the Value Editor function which is available in the output panel of DataGrip.

enter image description here

When it's opened and you click on a cell in JSON format, the JSON will be shown prettified in the box.

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Joe Cheng