in reply to Re^3: Preserve the order in JSON
in thread Preserve the order in JSON

AFAIR is this disputed, because different RFC tell differently.

It's even worse: It is not clear if object keys MUST be unique or not. They surely SHOULD be unique. Here is the entire mess: Re^4: Outputting JSON with sorted names/keys.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)