3 ms·
There are situations where keeping order is useful. For example, human-editable json config files. I also gave an example of two implementations that are compa
by ash 3y ago
There are situations where keeping order is useful. For example, human-editable json config files.
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 https://news.ycombinator.com/item?id=38547254
- cryptonector 3y ago> There are situations where keeping order is useful. For example, human-editable json config files. You might have to just normalize every time you want to edit that.