>> Are you aware of JSON::PP#sort_by?
Thanks! I knew that JSON used JSON::PP or JSON::XS under the hood, but I hadn't thought to go searching through the backend modules for features not advertised (edit: "...not advertised at the top level"). That's just what I was hoping would exist somewhere. And thanks for the example to go with it: works great for me.
In reply to Re^3: Outputting JSON with sorted names/keys (POC)
by pryrt
in thread Outputting JSON with sorted names/keys
by pryrt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |