4 ms·
I really wish it preserved key order ... is quite annoying losing this at the storage layer ...
by breatheoften 4y ago
I really wish it preserved key order ... is quite annoying losing this at the storage layer ...
- johnthescott 4y agoi am curious to known an example where key order would matter.
- realaleris149 4y agoHad this exact issue. The UBL [1] standard has a primarty XML representation where the order of elements are enforced in the schema. It also has a JSON representation, so when going from JSON to XML the exact order is needed to obtain a valid XML. [1] https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=ubl https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=...
- cryptonector 4y agoSo preserving key order is... nice for some things, but what's nice about JSONB is that it's optimized for reading and querying.