Re: [Bug report] JSON(B) field display not preserving order of object keys - Mailing list pgadmin-support

From Khushboo Vashi
Subject Re: [Bug report] JSON(B) field display not preserving order of object keys
Date
Msg-id CAFOhELfz=wSJPd5aX=cFvaS+1-aUe1fw612YDwPEsTcqHuN7og@mail.gmail.com
Whole thread Raw
In response to [Bug report] JSON(B) field display not preserving order of object keys  (Bern Ochoa <dologan@gmail.com>)
List pgadmin-support


On Fri, Sep 7, 2018 at 2:00 PM, Bern Ochoa <dologan@gmail.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.

pgadmin-support by date:

Previous
From: Bern Ochoa
Date:
Subject: [Bug report] JSON(B) field display not preserving order of object keys
Next
From: Adam Brusselback
Date:
Subject: Re: Re: Re: How to install pgAgent on windows for postresql-bigsql-10.5