[Bug report] JSON(B) field display not preserving order of object keys
[Bug report] JSON(B) field display not preserving order of object keys
От:
Bern Ochoa <dologan@gmail.com>
Дата:
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.
Re: [Bug report] JSON(B) field display not preserving order of object keys
От:
Khushboo Vashi <khushboo.vashi@enterprisedb.com>
Дата:
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.
Please create this issue @ https://redmine.postgresql.org/projects/pgadmin4