I seem to remember that the specs are unclear if sorted hashes (aka objects) are allowed in JSON
I seem to remember that Daxim was complaining once about contradictory specs.
Some searching told me that there are JSON parsers which preserve order, most famously V8.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re: Outputting JSON with sorted names/keys
by LanX
in thread Outputting JSON with sorted names/keys
by pryrt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |