We don't bite newbies here... much | |
PerlMonks |
Re^2: Preserve the order in JSONby choroba (Cardinal) |
on Jul 11, 2018 at 10:57 UTC ( [id://1218300]=note: print w/replies, xml ) | Need Help?? |
If you need to preserve the order, don't use "JSON object" (aka hash in Perl) as the data structure, use an array (or include an ordering attribute to the object).
In Section
Seekers of Perl Wisdom
|
|