![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: Preserve the order in JSONby Laurent_R (Canon) |
on Jun 16, 2015 at 21:03 UTC ( #1130710=note: print w/replies, xml ) | Need Help?? |
Key and value pairs are always unordered in a hash. But you can also apply a sort to your data elements if you need to visit/modify them in a certain specific order. You're not saying really enough, tell us why you want a specific order.
In Section
Seekers of Perl Wisdom
|
|