Re: [Bug report] JSON(B) field display not preserving order of object keys

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: Bern Ochoa <dologan(at)gmail(dot)com>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: [Bug report] JSON(B) field display not preserving order of object keys
Date: 2018-09-07 08:48:57
Message-ID: CAFOhELfz=wSJPd5aX=cFvaS+1-aUe1fw612YDwPEsTcqHuN7og@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Fri, Sep 7, 2018 at 2:00 PM, Bern Ochoa <dologan(at)gmail(dot)com> wrote:

> When displaying the data of JSON(B)-typed columns on the Data Output tab,
> if the data contains an object, the native order of the keys is not
> preserved.
>
> As a Python developer myself, I strongly suspect this is because the
> database data is being loaded internally as a regular dict object instead
> of the OrderedDict instance that would be required to preserve key order.
>

Please create this issue @ https://redmine.postgresql.org/projects/pgadmin4

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Adam Brusselback 2018-09-07 14:28:27 Re: Re: Re: How to install pgAgent on windows for postresql-bigsql-10.5
Previous Message Bern Ochoa 2018-09-07 08:30:54 [Bug report] JSON(B) field display not preserving order of object keys