Does the JSON spec actually say that those objects should be "equal", or does it just leave that detail to implementations?
In JavaScript at least, those two are not exactly "the same", in the sense that you can observe the difference if you want to. If you parse those JSON strings and then iterate the keys (e.g. with Object.keys), the ordering will be different.