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

From: Bern Ochoa <dologan(at)gmail(dot)com>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: [Bug report] JSON(B) field display not preserving order of object keys
Date: 2018-09-07 08:30:54
Message-ID: CAKjNWyUJfak8mUYHvMs77K7KDWwpg5+GW3vYYOm8b=miUmmCvQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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.

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Khushboo Vashi 2018-09-07 08:48:57 Re: [Bug report] JSON(B) field display not preserving order of object keys
Previous Message jimmy 2018-09-07 06:31:44 Re:Re: Re: How to install pgAgent on windows for postresql-bigsql-10.5