> Yes, but it's not impossible to achieve it in practice.
For any one implementation. But there's a very large number of implementations. You just can't count on object key order being preserved, so don't.
For any one implementation. But there's a very large number of implementations. You just can't count on object key order being preserved, so don't.
I also gave an example of two implementations that are compatible for a useful subset of keys. By the way, SQLite JSONB keeps object keys in insertion order, similar to Python: https://news.ycombinator.com/item?id=38547254
You might have to just normalize every time you want to edit that.