{"p":"","h":{"iv":"ROXSYW+cfvEbFHu5","at":"ocxplSQjdRC3tXEtB/9/wg=="}}

@mapperwocky @PaulHammond51
AFAICT the order of Javascript objects was undetermined in the spec. until recently, so a lot of applications don't rely on Javascript objects (JSON's roots) being sorted. Even with the changes in ECMAScript 2015, the order is only guaranteed to be the insertion order of the items.

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Dr. Fred Calef III

@65dBnoise @PaulHammond51 the feature order is handled on the data creation end and not specific to JSON. Our tools just take an input and export JSON in the order that the original file gave us. I’m going to take my own advice and put a sort in there in case the order in the input is not as expected.

0
2y
Replies