Y
Hacker News
new
|
ask
|
show
|
jobs
by
gdprrrr
1036 days ago
Is ordering of the keys guaranteed to be the same as in the literal?
2 comments
kiitos
1035 days ago
Order should be preserved up to the Handler. Some Handlers e.g. JSONHandler produce output with key order explicitly undefined.
link
grose
1036 days ago
That’s a good point. I think it would be random without some sorting shenanigans.
link