in reply to Outputting JSON with sorted names/keys
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Outputting JSON with sorted names/keys (POC)
by LanX (Saint) on Jan 26, 2020 at 03:51 UTC | |
by pryrt (Abbot) on Jan 26, 2020 at 20:56 UTC | |
by LanX (Saint) on Jan 27, 2020 at 00:07 UTC | |
|
Re^2: Outputting JSON with sorted names/keys (Updated)
by bart (Canon) on Jun 16, 2023 at 12:03 UTC | |
by pryrt (Abbot) on Jun 16, 2023 at 14:59 UTC | |
by bart (Canon) on Jun 20, 2023 at 16:35 UTC | |
by pryrt (Abbot) on Jun 20, 2023 at 16:50 UTC |