Are you aware of JSON::PP#sort_by ?
Not sure if I'm missing your point though...
To elaborate more: JSON.pm has the choice between different backends which must implement it's interface.
But a backend can also provide more extended features.
See demo in my answer here.
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 (Updated)
by LanX
in thread Outputting JSON with sorted names/keys
by pryrt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |