datagrip view postgresql jsonb array in pretty?
Answered
datagrip can view json in pretty, but can not view json array in pretty.
Has this been implemented or we have to looking forward a future releases?
Please sign in to leave a comment.
wangxiang,
I can't reproduce the issue with the following SQL. Could you specify our IDE version and sample DDL & DML to reproduce the issue?
vasily chernov
I use datagrip built in latest version pycharm.
my column type is `jsonb array`, this array type can not be pretty now.
may be I should consider use jsonb instead
wangxiang Please provide the table definition and a sample DML query for populating with json b array data. We'll try to reproduce this behavior.
vasily chernov Aleksandr Molchanov
the DML query is as below
wangxiang Thanks for the provided information.
I may confirm that the jsonb array is not retaining the structure with formatting for this data type in DataGrip(2023.1.2 and EAP versions). This is partially related to this issue
So, for now, as a workaround, I'd encourage using jsonb instead of jsonb array.