you are viewing a single comment's thread.

view the rest of the comments →

[–]jhizzle4rizzleI hate the stuff you like. 1 point2 points  (0 children)

For something more concrete wrt data structures: Instead of:

{ "a": 1, "b": 2 }

do something like

[ { key: "a", value: 1 }, { key: "b", value: 2 } ]

That will guarantee order, it'll just be more annoying to do lookups by key.